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": "070f3b19-135e-47f1-9406-e1a5feb2e1bf",
    "Provider": 2,
    "ProviderUserID": "sample string 3",
    "FirstName": "sample string 4",
    "LastName": "sample string 5",
    "BirthDate": "2026-08-12T11:43:55.6774922+03:00",
    "PhoneCountryID": "704849a6-ccdb-47e2-99e9-85fd177d6ee9",
    "DeviceID": "sample string 8",
    "DeviceToken": "sample string 9",
    "Platform": 10,
    "PhotoLink": "sample string 11"
  },
  "PatientID": "14264d04-a1ba-4e5d-96a9-05968936b9e5",
  "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>14264d04-a1ba-4e5d-96a9-05968936b9e5</PatientID>
  <WebApiVersion>2</WebApiVersion>
  <PatientData>
    <BirthDate>2026-08-12T11:43:55.6774922+03:00</BirthDate>
    <DeviceID>sample string 8</DeviceID>
    <DeviceToken>sample string 9</DeviceToken>
    <FirstName>sample string 4</FirstName>
    <LastName>sample string 5</LastName>
    <PartnerID>070f3b19-135e-47f1-9406-e1a5feb2e1bf</PartnerID>
    <PhoneCountryID>704849a6-ccdb-47e2-99e9-85fd177d6ee9</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": "7209e9f7-2a35-4056-b65d-ed880d698c63",
    "PartnerID": "315d5465-a75a-47cb-970f-eab0ee836db3",
    "ProviderType": 3,
    "ProviderUserID": "sample string 4",
    "FirstName": "sample string 5",
    "LastName": "sample string 6",
    "BirthDate": "2026-08-12T11:43:55.9587478+03:00",
    "GenderID": "0e8c44c3-c4f0-496f-ab3d-f28fea025d71",
    "BloodTypeID": "81eb4d7c-5e3c-4466-8e8d-8b4fa01a1596",
    "MaritalStatusID": "14a448a1-824c-48ac-a732-aff82aca7ab0",
    "Phone": "sample string 7",
    "LanguageID": "3ce83903-ee5e-4c4b-9208-e4a2ec507902",
    "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": "4d01e6b7-e6ee-49be-8eb8-26ca5770ba38",
    "PhoneCountryID": "f65bcdf6-87aa-48af-8138-3b1b62fc4462",
    "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-08-12T11:43:55.9587478+03:00</BirthDate>
    <BloodTypeID>81eb4d7c-5e3c-4466-8e8d-8b4fa01a1596</BloodTypeID>
    <CountryID>4d01e6b7-e6ee-49be-8eb8-26ca5770ba38</CountryID>
    <FirstName>sample string 5</FirstName>
    <GenderID>0e8c44c3-c4f0-496f-ab3d-f28fea025d71</GenderID>
    <Height>1</Height>
    <LanguageID>3ce83903-ee5e-4c4b-9208-e4a2ec507902</LanguageID>
    <LastName>sample string 6</LastName>
    <MaritalStatusID>14a448a1-824c-48ac-a732-aff82aca7ab0</MaritalStatusID>
    <NationalID>sample string 8</NationalID>
    <PartnerID>315d5465-a75a-47cb-970f-eab0ee836db3</PartnerID>
    <PatientID>7209e9f7-2a35-4056-b65d-ed880d698c63</PatientID>
    <Phone>sample string 7</Phone>
    <PhoneCountryID>f65bcdf6-87aa-48af-8138-3b1b62fc4462</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>