POST api/Security/SignUp
Request Information
URI Parameters
None.
Body Parameters
SignUpRequest| Name | Description | Type | Additional information |
|---|---|---|---|
| PatientData | PatientSignUp |
None. |
|
| PatientID | globally unique identifier |
None. |
|
| WebApiVersion | integer |
None. |
|
| Language | string |
None. |
Request Formats
application/json, text/json
Sample:
{
"PatientData": {
"PartnerID": "0a7c51ab-fa1a-4ab7-bd4f-be51195b7348",
"Provider": 2,
"ProviderUserID": "sample string 3",
"FirstName": "sample string 4",
"LastName": "sample string 5",
"BirthDate": "2025-12-11T14:38:05.3681659+03:00",
"PhoneCountryID": "b52e422f-2339-4ebc-bee9-260b4472f90b",
"DeviceID": "sample string 8",
"DeviceToken": "sample string 9",
"Platform": 10,
"PhotoLink": "sample string 11"
},
"PatientID": "78e10df8-53e1-4bd8-8438-b988fc5647d6",
"WebApiVersion": 2,
"Language": "sample string 3"
}
application/xml, text/xml
Sample:
<SignUpRequest xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/SehatukaAPI.DTO">
<Language>sample string 3</Language>
<PatientID>78e10df8-53e1-4bd8-8438-b988fc5647d6</PatientID>
<WebApiVersion>2</WebApiVersion>
<PatientData>
<BirthDate>2025-12-11T14:38:05.3681659+03:00</BirthDate>
<DeviceID>sample string 8</DeviceID>
<DeviceToken>sample string 9</DeviceToken>
<FirstName>sample string 4</FirstName>
<LastName>sample string 5</LastName>
<PartnerID>0a7c51ab-fa1a-4ab7-bd4f-be51195b7348</PartnerID>
<PhoneCountryID>b52e422f-2339-4ebc-bee9-260b4472f90b</PhoneCountryID>
<PhotoLink>sample string 11</PhotoLink>
<Platform>10</Platform>
<Provider>2</Provider>
<ProviderUserID>sample string 3</ProviderUserID>
</PatientData>
</SignUpRequest>
application/x-www-form-urlencoded
Sample:
Sample not available.
Response Information
Resource Description
LoginResponse| Name | Description | Type | Additional information |
|---|---|---|---|
| Patient | Patient |
None. |
|
| Token | TupleOfStringAndString |
None. |
|
| WebApiVersion | integer |
None. |
Response Formats
application/json, text/json
Sample:
{
"Patient": {
"PatientID": "12527044-5b9e-41d0-bbcf-0f55a8cd6523",
"PartnerID": "e76f51fc-3845-481b-8952-c90e1504f725",
"ProviderType": 3,
"ProviderUserID": "sample string 4",
"FirstName": "sample string 5",
"LastName": "sample string 6",
"BirthDate": "2025-12-11T14:38:05.3836875+03:00",
"GenderID": "cc0db51b-67ca-4073-8790-09ed79310993",
"BloodTypeID": "b15cb6e3-2d68-4463-a829-ca9856552811",
"MaritalStatusID": "423135be-0932-4d2a-a4b9-bd222da88279",
"Phone": "sample string 7",
"LanguageID": "b4a5ce22-9358-42b7-9803-b987ef5e7b84",
"NationalID": "sample string 8",
"BirthCity": "sample string 9",
"BirthCountry": "sample string 10",
"Height": 1.0,
"AddressStreet": "sample string 11",
"AddressCity": "sample string 12",
"AddressState": "sample string 13",
"AddressCountry": "sample string 14",
"AddressZipCode": "sample string 15",
"CountryID": "27b0e043-096f-4fc8-b32f-342987b13f79",
"PhoneCountryID": "1e92d41e-5aa3-461a-b811-2d241533d336",
"PhotoLink": "sample string 16"
},
"Token": {
"m_Item1": "sample string 1",
"m_Item2": "sample string 2"
},
"WebApiVersion": 1
}
application/xml, text/xml
Sample:
<LoginResponse xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/SehatukaAPI.DTO">
<WebApiVersion>1</WebApiVersion>
<Patient>
<AddressCity>sample string 12</AddressCity>
<AddressCountry>sample string 14</AddressCountry>
<AddressState>sample string 13</AddressState>
<AddressStreet>sample string 11</AddressStreet>
<AddressZipCode>sample string 15</AddressZipCode>
<BirthCity>sample string 9</BirthCity>
<BirthCountry>sample string 10</BirthCountry>
<BirthDate>2025-12-11T14:38:05.3836875+03:00</BirthDate>
<BloodTypeID>b15cb6e3-2d68-4463-a829-ca9856552811</BloodTypeID>
<CountryID>27b0e043-096f-4fc8-b32f-342987b13f79</CountryID>
<FirstName>sample string 5</FirstName>
<GenderID>cc0db51b-67ca-4073-8790-09ed79310993</GenderID>
<Height>1</Height>
<LanguageID>b4a5ce22-9358-42b7-9803-b987ef5e7b84</LanguageID>
<LastName>sample string 6</LastName>
<MaritalStatusID>423135be-0932-4d2a-a4b9-bd222da88279</MaritalStatusID>
<NationalID>sample string 8</NationalID>
<PartnerID>e76f51fc-3845-481b-8952-c90e1504f725</PartnerID>
<PatientID>12527044-5b9e-41d0-bbcf-0f55a8cd6523</PatientID>
<Phone>sample string 7</Phone>
<PhoneCountryID>1e92d41e-5aa3-461a-b811-2d241533d336</PhoneCountryID>
<PhotoLink>sample string 16</PhotoLink>
<ProviderType>3</ProviderType>
<ProviderUserID>sample string 4</ProviderUserID>
</Patient>
<Token xmlns:d2p1="http://schemas.datacontract.org/2004/07/System">
<d2p1:m_Item1>sample string 1</d2p1:m_Item1>
<d2p1:m_Item2>sample string 2</d2p1:m_Item2>
</Token>
</LoginResponse>