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": "a5464526-58bd-4097-9c72-2e431963a5ee",
"ContributorUserAppP": "ed1d207b-337f-4a6a-93a1-50a9c1dc8872",
"ContributorPin": "sample string 10",
"Facility": "sample string 11",
"ContributorCentreGUID": "6b55c690-ac3f-4396-951a-8526beaf0678",
"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>6b55c690-ac3f-4396-951a-8526beaf0678</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>ed1d207b-337f-4a6a-93a1-50a9c1dc8872</ContributorUserAppP> <ContributorUserAppU>a5464526-58bd-4097-9c72-2e431963a5ee</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": "cabfec6d-d2fc-4182-ac41-020b10dad883",
"InstitutionUUID": "d26acd4a-9f47-40dc-89df-497cf70e8cf6",
"IsSuccess": true,
"ErrorMessage": "sample string 4",
"ContributorUserAppU": "0c4bdb3f-7dc1-4564-9f61-fa594fe3484e",
"ContributorUserAppP": "55e49cd8-0f4f-4c52-8968-1577fc31a0cc",
"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>55e49cd8-0f4f-4c52-8968-1577fc31a0cc</ContributorUserAppP> <ContributorUserAppU>0c4bdb3f-7dc1-4564-9f61-fa594fe3484e</ContributorUserAppU> <ErrorMessage>sample string 4</ErrorMessage> <InstitutionUUID>d26acd4a-9f47-40dc-89df-497cf70e8cf6</InstitutionUUID> <IsSuccess>true</IsSuccess> <OnlineContributorUUID>cabfec6d-d2fc-4182-ac41-020b10dad883</OnlineContributorUUID> <UsesCentres>true</UsesCentres> </ContributorRegisterResponse>