POST api/Register
Request Information
URI Parameters
None.
Body Parameters
ContributorRegisterRequest| Name | Description | Type | Additional information |
|---|---|---|---|
| InstitutionCode | string |
None. |
|
| ContributorName | string |
None. |
|
| ContributorHospital | string |
None. |
|
| ContributorProfession | string |
None. |
|
| ContributorEmail | string |
None. |
|
| ContributorCountry | string |
None. |
|
| TermsAgreedId | integer |
None. |
|
| ContributorUserAppU | globally unique identifier |
None. |
|
| ContributorUserAppP | globally unique identifier |
None. |
|
| ContributorPin | string |
None. |
|
| Facility | string |
None. |
|
| ContributorCentreGUID | globally unique identifier |
None. |
|
| AppVersion | decimal number |
None. |
Request Formats
application/json, text/json
Sample:
{
"InstitutionCode": "sample string 1",
"ContributorName": "sample string 2",
"ContributorHospital": "sample string 3",
"ContributorProfession": "sample string 4",
"ContributorEmail": "sample string 5",
"ContributorCountry": "sample string 6",
"TermsAgreedId": 7,
"ContributorUserAppU": "0280a970-d529-49a2-9127-7b20d06b6ccf",
"ContributorUserAppP": "6298610f-5c6d-401d-b02a-1b821b7646e9",
"ContributorPin": "sample string 10",
"Facility": "sample string 11",
"ContributorCentreGUID": "52439720-b946-4432-a6c4-57247377532e",
"AppVersion": 1.1
}
text/xml
Sample:
<ContributorRegisterRequest xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/gbddcwebapi.Models"> <AppVersion>1.1</AppVersion> <ContributorCentreGUID>52439720-b946-4432-a6c4-57247377532e</ContributorCentreGUID> <ContributorCountry>sample string 6</ContributorCountry> <ContributorEmail>sample string 5</ContributorEmail> <ContributorHospital>sample string 3</ContributorHospital> <ContributorName>sample string 2</ContributorName> <ContributorPin>sample string 10</ContributorPin> <ContributorProfession>sample string 4</ContributorProfession> <ContributorUserAppP>6298610f-5c6d-401d-b02a-1b821b7646e9</ContributorUserAppP> <ContributorUserAppU>0280a970-d529-49a2-9127-7b20d06b6ccf</ContributorUserAppU> <Facility>sample string 11</Facility> <InstitutionCode>sample string 1</InstitutionCode> <TermsAgreedId>7</TermsAgreedId> </ContributorRegisterRequest>
application/x-www-form-urlencoded
Sample:
Response Information
Resource Description
ContributorRegisterResponse| Name | Description | Type | Additional information |
|---|---|---|---|
| OnlineContributorUUID | globally unique identifier |
None. |
|
| InstitutionUUID | globally unique identifier |
None. |
|
| IsSuccess | boolean |
None. |
|
| ErrorMessage | string |
None. |
|
| ContributorUserAppU | globally unique identifier |
None. |
|
| ContributorUserAppP | globally unique identifier |
None. |
|
| AllowPhotos | boolean |
None. |
|
| AllowRecording | boolean |
None. |
|
| UsesCentres | boolean |
None. |
Response Formats
application/json, text/json
Sample:
{
"OnlineContributorUUID": "95d6faaa-4383-408b-939e-3b814413ce1a",
"InstitutionUUID": "04cd941e-712a-4b4d-9d8b-641d5042c4c0",
"IsSuccess": true,
"ErrorMessage": "sample string 4",
"ContributorUserAppU": "788f849d-7e62-4c29-b86b-fe9db0bc89f8",
"ContributorUserAppP": "febbf84e-16aa-4e0a-bd0c-9c385c307113",
"AllowPhotos": true,
"AllowRecording": true,
"UsesCentres": true
}
text/xml
Sample:
<ContributorRegisterResponse xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/gbddcwebapi.Models"> <AllowPhotos>true</AllowPhotos> <AllowRecording>true</AllowRecording> <ContributorUserAppP>febbf84e-16aa-4e0a-bd0c-9c385c307113</ContributorUserAppP> <ContributorUserAppU>788f849d-7e62-4c29-b86b-fe9db0bc89f8</ContributorUserAppU> <ErrorMessage>sample string 4</ErrorMessage> <InstitutionUUID>04cd941e-712a-4b4d-9d8b-641d5042c4c0</InstitutionUUID> <IsSuccess>true</IsSuccess> <OnlineContributorUUID>95d6faaa-4383-408b-939e-3b814413ce1a</OnlineContributorUUID> <UsesCentres>true</UsesCentres> </ContributorRegisterResponse>