POST api/RegistrationUpdate
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": "5de0e30c-67d3-44ae-80e0-8fdbf00555b4",
"ContributorUserAppP": "8b14300d-953d-432c-b9c9-75ac644fe119",
"ContributorPin": "sample string 10",
"Facility": "sample string 11",
"ContributorCentreGUID": "6cd6e9aa-deac-4f72-ba56-fb6c94dc742c",
"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>6cd6e9aa-deac-4f72-ba56-fb6c94dc742c</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>8b14300d-953d-432c-b9c9-75ac644fe119</ContributorUserAppP> <ContributorUserAppU>5de0e30c-67d3-44ae-80e0-8fdbf00555b4</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": "a30bbda5-87c3-410e-a956-b5297241bf4c",
"InstitutionUUID": "e484fdb5-5e5c-49ab-bebc-7e056ebb752e",
"IsSuccess": true,
"ErrorMessage": "sample string 4",
"ContributorUserAppU": "0a29715f-ee6d-4b84-845a-2b0742b94ce7",
"ContributorUserAppP": "adde0e9e-79de-440e-81ec-4036c13b1b16",
"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>adde0e9e-79de-440e-81ec-4036c13b1b16</ContributorUserAppP> <ContributorUserAppU>0a29715f-ee6d-4b84-845a-2b0742b94ce7</ContributorUserAppU> <ErrorMessage>sample string 4</ErrorMessage> <InstitutionUUID>e484fdb5-5e5c-49ab-bebc-7e056ebb752e</InstitutionUUID> <IsSuccess>true</IsSuccess> <OnlineContributorUUID>a30bbda5-87c3-410e-a956-b5297241bf4c</OnlineContributorUUID> <UsesCentres>true</UsesCentres> </ContributorRegisterResponse>