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": "fda372e0-c91c-4cfb-afd7-ee2cdb120758",
"ContributorUserAppP": "7ffac308-6955-474d-9c0b-8e9c8f909e99",
"ContributorPin": "sample string 10",
"Facility": "sample string 11",
"ContributorCentreGUID": "52d860cc-252e-4dfe-998b-a70e9c41027d",
"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>52d860cc-252e-4dfe-998b-a70e9c41027d</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>7ffac308-6955-474d-9c0b-8e9c8f909e99</ContributorUserAppP> <ContributorUserAppU>fda372e0-c91c-4cfb-afd7-ee2cdb120758</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": "4e10919f-524d-46be-b333-c55ccd6fe6a8",
"InstitutionUUID": "b3f7848f-ac37-4d76-aa93-c7fa5d2b92e5",
"IsSuccess": true,
"ErrorMessage": "sample string 4",
"ContributorUserAppU": "3b9fead0-2b29-471f-815d-6117368c5081",
"ContributorUserAppP": "eac0a09a-4ceb-4b5b-b02a-d8f574993605",
"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>eac0a09a-4ceb-4b5b-b02a-d8f574993605</ContributorUserAppP> <ContributorUserAppU>3b9fead0-2b29-471f-815d-6117368c5081</ContributorUserAppU> <ErrorMessage>sample string 4</ErrorMessage> <InstitutionUUID>b3f7848f-ac37-4d76-aa93-c7fa5d2b92e5</InstitutionUUID> <IsSuccess>true</IsSuccess> <OnlineContributorUUID>4e10919f-524d-46be-b333-c55ccd6fe6a8</OnlineContributorUUID> <UsesCentres>true</UsesCentres> </ContributorRegisterResponse>