POST api/Security/OperatorUpdate

Request Information

URI Parameters

None.

Body Parameters

OperatorUpdateRequest
NameDescriptionTypeAdditional information
Operator

Operator

None.

PatientID

globally unique identifier

None.

WebApiVersion

integer

None.

Language

string

None.

Request Formats

application/json, text/json

Sample:
{
  "Operator": {
    "OperatorID": "39a25e77-1461-4ed2-b235-f224c48226af",
    "OperatorTypeID": "71980b24-c9ca-4fee-b767-ccd62ca2ffbb",
    "FirstName": "sample string 3",
    "LastName": "sample string 4",
    "Email": "sample string 5",
    "Password": "sample string 6",
    "IsAdmin": true,
    "Photo": "sample string 8"
  },
  "PatientID": "cca8c69f-26f9-49db-908d-508ba6d70d3e",
  "WebApiVersion": 2,
  "Language": "sample string 3"
}

application/xml, text/xml

Sample:
<OperatorUpdateRequest xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/SehatukaAPI.DTO">
  <Language>sample string 3</Language>
  <PatientID>cca8c69f-26f9-49db-908d-508ba6d70d3e</PatientID>
  <WebApiVersion>2</WebApiVersion>
  <Operator>
    <Email>sample string 5</Email>
    <FirstName>sample string 3</FirstName>
    <IsAdmin>true</IsAdmin>
    <LastName>sample string 4</LastName>
    <OperatorID>39a25e77-1461-4ed2-b235-f224c48226af</OperatorID>
    <OperatorTypeID>71980b24-c9ca-4fee-b767-ccd62ca2ffbb</OperatorTypeID>
    <Password>sample string 6</Password>
    <Photo>sample string 8</Photo>
  </Operator>
</OperatorUpdateRequest>

application/x-www-form-urlencoded

Sample:

Sample not available.

Response Information

Resource Description

OperatorResponse
NameDescriptionTypeAdditional information
Operator

Operator

None.

Token

TupleOfStringAndString

None.

WebApiVersion

integer

None.

Response Formats

application/json, text/json

Sample:
{
  "Operator": {
    "OperatorID": "170608a4-1bbe-41d4-873b-5f7089a4d9f2",
    "OperatorTypeID": "bcab6795-4858-4a82-96c7-b46e14720b26",
    "FirstName": "sample string 3",
    "LastName": "sample string 4",
    "Email": "sample string 5",
    "Password": "sample string 6",
    "IsAdmin": true,
    "Photo": "sample string 8"
  },
  "Token": {
    "m_Item1": "sample string 1",
    "m_Item2": "sample string 2"
  },
  "WebApiVersion": 1
}

application/xml, text/xml

Sample:
<OperatorResponse xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/SehatukaAPI.DTO">
  <WebApiVersion>1</WebApiVersion>
  <Operator>
    <Email>sample string 5</Email>
    <FirstName>sample string 3</FirstName>
    <IsAdmin>true</IsAdmin>
    <LastName>sample string 4</LastName>
    <OperatorID>170608a4-1bbe-41d4-873b-5f7089a4d9f2</OperatorID>
    <OperatorTypeID>bcab6795-4858-4a82-96c7-b46e14720b26</OperatorTypeID>
    <Password>sample string 6</Password>
    <Photo>sample string 8</Photo>
  </Operator>
  <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>
</OperatorResponse>