POST api/Telemedicine/UpdateLocation

Request Information

URI Parameters

None.

Body Parameters

TelemedicineDTO
NameDescriptionTypeAdditional information
Id

integer

None.

Name

string

String length: inclusive between 0 and 50

kioskId

string

String length: inclusive between 0 and 50

CompanyCode

string

String length: inclusive between 0 and 20

ValidFlag

boolean

None.

TelemedicineWorkLocationDTO

Collection of TelemedicineWorkLocationDTO

None.

Request Formats

application/json, text/json

Sample:
{
  "Id": 1,
  "Name": "sample string 2",
  "kioskId": "sample string 3",
  "CompanyCode": "sample string 4",
  "ValidFlag": true,
  "TelemedicineWorkLocationDTO": [
    {
      "Id": 1,
      "WorkLocationCode": "sample string 2",
      "WorkLocationName": "sample string 3",
      "WorkLocationShortName": "sample string 4",
      "TelemedicineId": 5,
      "ValidFlag": true
    },
    {
      "Id": 1,
      "WorkLocationCode": "sample string 2",
      "WorkLocationName": "sample string 3",
      "WorkLocationShortName": "sample string 4",
      "TelemedicineId": 5,
      "ValidFlag": true
    }
  ]
}

application/xml, text/xml

Sample:
<TelemedicineDTO xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/ASAP_BL.BL">
  <CompanyCode>sample string 4</CompanyCode>
  <Id>1</Id>
  <Name>sample string 2</Name>
  <TelemedicineWorkLocationDTO>
    <TelemedicineWorkLocationDTO>
      <Id>1</Id>
      <TelemedicineId>5</TelemedicineId>
      <ValidFlag>true</ValidFlag>
      <WorkLocationCode>sample string 2</WorkLocationCode>
      <WorkLocationName>sample string 3</WorkLocationName>
      <WorkLocationShortName>sample string 4</WorkLocationShortName>
    </TelemedicineWorkLocationDTO>
    <TelemedicineWorkLocationDTO>
      <Id>1</Id>
      <TelemedicineId>5</TelemedicineId>
      <ValidFlag>true</ValidFlag>
      <WorkLocationCode>sample string 2</WorkLocationCode>
      <WorkLocationName>sample string 3</WorkLocationName>
      <WorkLocationShortName>sample string 4</WorkLocationShortName>
    </TelemedicineWorkLocationDTO>
  </TelemedicineWorkLocationDTO>
  <ValidFlag>true</ValidFlag>
  <kioskId>sample string 3</kioskId>
</TelemedicineDTO>

application/x-www-form-urlencoded

Sample:

Sample not available.

Response Information

Resource Description

AsapResponseOfTelemedicineDTO
NameDescriptionTypeAdditional information
isSuccess

boolean

None.

message

string

None.

jsonObj

TelemedicineDTO

None.

totalCount

integer

None.

Response Formats

application/json, text/json

Sample:
{
  "isSuccess": true,
  "message": "sample string 2",
  "jsonObj": {
    "Id": 1,
    "Name": "sample string 2",
    "kioskId": "sample string 3",
    "CompanyCode": "sample string 4",
    "ValidFlag": true,
    "TelemedicineWorkLocationDTO": [
      {
        "Id": 1,
        "WorkLocationCode": "sample string 2",
        "WorkLocationName": "sample string 3",
        "WorkLocationShortName": "sample string 4",
        "TelemedicineId": 5,
        "ValidFlag": true
      },
      {
        "Id": 1,
        "WorkLocationCode": "sample string 2",
        "WorkLocationName": "sample string 3",
        "WorkLocationShortName": "sample string 4",
        "TelemedicineId": 5,
        "ValidFlag": true
      }
    ]
  },
  "totalCount": 3
}

application/xml, text/xml

Sample:
<AsapResponseOfTelemedicineDTO3NYuOdgi xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/ASAP_BL.Common">
  <isSuccess>true</isSuccess>
  <jsonObj xmlns:d2p1="http://schemas.datacontract.org/2004/07/ASAP_BL.BL">
    <d2p1:CompanyCode>sample string 4</d2p1:CompanyCode>
    <d2p1:Id>1</d2p1:Id>
    <d2p1:Name>sample string 2</d2p1:Name>
    <d2p1:TelemedicineWorkLocationDTO>
      <d2p1:TelemedicineWorkLocationDTO>
        <d2p1:Id>1</d2p1:Id>
        <d2p1:TelemedicineId>5</d2p1:TelemedicineId>
        <d2p1:ValidFlag>true</d2p1:ValidFlag>
        <d2p1:WorkLocationCode>sample string 2</d2p1:WorkLocationCode>
        <d2p1:WorkLocationName>sample string 3</d2p1:WorkLocationName>
        <d2p1:WorkLocationShortName>sample string 4</d2p1:WorkLocationShortName>
      </d2p1:TelemedicineWorkLocationDTO>
      <d2p1:TelemedicineWorkLocationDTO>
        <d2p1:Id>1</d2p1:Id>
        <d2p1:TelemedicineId>5</d2p1:TelemedicineId>
        <d2p1:ValidFlag>true</d2p1:ValidFlag>
        <d2p1:WorkLocationCode>sample string 2</d2p1:WorkLocationCode>
        <d2p1:WorkLocationName>sample string 3</d2p1:WorkLocationName>
        <d2p1:WorkLocationShortName>sample string 4</d2p1:WorkLocationShortName>
      </d2p1:TelemedicineWorkLocationDTO>
    </d2p1:TelemedicineWorkLocationDTO>
    <d2p1:ValidFlag>true</d2p1:ValidFlag>
    <d2p1:kioskId>sample string 3</d2p1:kioskId>
  </jsonObj>
  <message>sample string 2</message>
  <totalCount>3</totalCount>
</AsapResponseOfTelemedicineDTO3NYuOdgi>