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": "fb06e2eb-d339-4905-98a5-8407413c6b43",
    "Provider": 2,
    "ProviderUserID": "sample string 3",
    "FirstName": "sample string 4",
    "LastName": "sample string 5",
    "BirthDate": "2026-02-28T15:32:09.2193708+03:00",
    "PhoneCountryID": "6502204e-2b66-4363-97c3-687489b81cfd",
    "DeviceID": "sample string 8",
    "DeviceToken": "sample string 9",
    "Platform": 10,
    "PhotoLink": "sample string 11"
  },
  "PatientID": "955ba264-d4e0-466e-9f4a-cd5090237136",
  "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>955ba264-d4e0-466e-9f4a-cd5090237136</PatientID>
  <WebApiVersion>2</WebApiVersion>
  <PatientData>
    <BirthDate>2026-02-28T15:32:09.2193708+03:00</BirthDate>
    <DeviceID>sample string 8</DeviceID>
    <DeviceToken>sample string 9</DeviceToken>
    <FirstName>sample string 4</FirstName>
    <LastName>sample string 5</LastName>
    <PartnerID>fb06e2eb-d339-4905-98a5-8407413c6b43</PartnerID>
    <PhoneCountryID>6502204e-2b66-4363-97c3-687489b81cfd</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": "a281bb35-5618-4eb3-b50c-7cc2519ad19d",
    "PartnerID": "33818b0d-9e5a-4f81-8ceb-f1b30282755f",
    "ProviderType": 3,
    "ProviderUserID": "sample string 4",
    "FirstName": "sample string 5",
    "LastName": "sample string 6",
    "BirthDate": "2026-02-28T15:32:09.2662428+03:00",
    "GenderID": "7a1acf0e-fc19-4f10-b6cb-ea9e0f2896ec",
    "BloodTypeID": "3d627c6c-809d-49f2-9e25-49ef1e4743f5",
    "MaritalStatusID": "c2ab30c7-bfd8-4f80-98c7-14f833fe7bd6",
    "Phone": "sample string 7",
    "LanguageID": "4967f230-a23d-4622-b807-426804feecaa",
    "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": "2b14bdaa-2093-4e41-9c19-b3471320b67b",
    "PhoneCountryID": "89b9da47-3fd3-4ce6-b10d-7418ce1400bd",
    "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-02-28T15:32:09.2662428+03:00</BirthDate>
    <BloodTypeID>3d627c6c-809d-49f2-9e25-49ef1e4743f5</BloodTypeID>
    <CountryID>2b14bdaa-2093-4e41-9c19-b3471320b67b</CountryID>
    <FirstName>sample string 5</FirstName>
    <GenderID>7a1acf0e-fc19-4f10-b6cb-ea9e0f2896ec</GenderID>
    <Height>1</Height>
    <LanguageID>4967f230-a23d-4622-b807-426804feecaa</LanguageID>
    <LastName>sample string 6</LastName>
    <MaritalStatusID>c2ab30c7-bfd8-4f80-98c7-14f833fe7bd6</MaritalStatusID>
    <NationalID>sample string 8</NationalID>
    <PartnerID>33818b0d-9e5a-4f81-8ceb-f1b30282755f</PartnerID>
    <PatientID>a281bb35-5618-4eb3-b50c-7cc2519ad19d</PatientID>
    <Phone>sample string 7</Phone>
    <PhoneCountryID>89b9da47-3fd3-4ce6-b10d-7418ce1400bd</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>