POST api/Security/SignUp

Request Information

URI Parameters

None.

Body Parameters

SignUpRequest
NameDescriptionTypeAdditional information
PatientData

PatientSignUp

None.

PatientID

globally unique identifier

None.

WebApiVersion

integer

None.

Language

string

None.

Request Formats

application/json, text/json

Sample:
{
  "PatientData": {
    "PartnerID": "c1552528-b74d-4c5a-b580-3d7d4f16f302",
    "Provider": 2,
    "ProviderUserID": "sample string 3",
    "FirstName": "sample string 4",
    "LastName": "sample string 5",
    "BirthDate": "2026-04-24T14:18:00.3937302+03:00",
    "PhoneCountryID": "2c5df9f9-e757-4f29-8e4d-d673bc13eb58",
    "DeviceID": "sample string 8",
    "DeviceToken": "sample string 9",
    "Platform": 10,
    "PhotoLink": "sample string 11"
  },
  "PatientID": "548207fa-58d2-4e80-9d2c-f0f07f0a1c72",
  "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>548207fa-58d2-4e80-9d2c-f0f07f0a1c72</PatientID>
  <WebApiVersion>2</WebApiVersion>
  <PatientData>
    <BirthDate>2026-04-24T14:18:00.3937302+03:00</BirthDate>
    <DeviceID>sample string 8</DeviceID>
    <DeviceToken>sample string 9</DeviceToken>
    <FirstName>sample string 4</FirstName>
    <LastName>sample string 5</LastName>
    <PartnerID>c1552528-b74d-4c5a-b580-3d7d4f16f302</PartnerID>
    <PhoneCountryID>2c5df9f9-e757-4f29-8e4d-d673bc13eb58</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
NameDescriptionTypeAdditional information
Patient

Patient

None.

Token

TupleOfStringAndString

None.

WebApiVersion

integer

None.

Response Formats

application/json, text/json

Sample:
{
  "Patient": {
    "PatientID": "3d162e11-eeeb-40a8-a0a8-e5745c4af46e",
    "PartnerID": "34240e6f-3f80-466b-9e17-918475e744f4",
    "ProviderType": 3,
    "ProviderUserID": "sample string 4",
    "FirstName": "sample string 5",
    "LastName": "sample string 6",
    "BirthDate": "2026-04-24T14:18:00.4874878+03:00",
    "GenderID": "cc2f6407-bfc4-4525-9841-6214da7a05c1",
    "BloodTypeID": "905471a0-03cf-4440-8076-12bbc757e728",
    "MaritalStatusID": "eeffa21c-062e-43af-b7ef-33dc1033d49a",
    "Phone": "sample string 7",
    "LanguageID": "c63a9271-ce63-4ae6-b0e2-a2ca49d3cd12",
    "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": "1b575918-8e99-41fa-b8e3-b1a9f4128a89",
    "PhoneCountryID": "7398e836-27b1-4fb2-8a07-e1a3e0ffd5f6",
    "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>2026-04-24T14:18:00.4874878+03:00</BirthDate>
    <BloodTypeID>905471a0-03cf-4440-8076-12bbc757e728</BloodTypeID>
    <CountryID>1b575918-8e99-41fa-b8e3-b1a9f4128a89</CountryID>
    <FirstName>sample string 5</FirstName>
    <GenderID>cc2f6407-bfc4-4525-9841-6214da7a05c1</GenderID>
    <Height>1</Height>
    <LanguageID>c63a9271-ce63-4ae6-b0e2-a2ca49d3cd12</LanguageID>
    <LastName>sample string 6</LastName>
    <MaritalStatusID>eeffa21c-062e-43af-b7ef-33dc1033d49a</MaritalStatusID>
    <NationalID>sample string 8</NationalID>
    <PartnerID>34240e6f-3f80-466b-9e17-918475e744f4</PartnerID>
    <PatientID>3d162e11-eeeb-40a8-a0a8-e5745c4af46e</PatientID>
    <Phone>sample string 7</Phone>
    <PhoneCountryID>7398e836-27b1-4fb2-8a07-e1a3e0ffd5f6</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>