POST api/desktop/getlocation

Lấy danh sách location từ resource trả về cho desktop

Request Information

URI Parameters

None.

Body Parameters

LocationParam
NameDescriptionTypeAdditional information
kind

integer

None.

parentId

string

None.

Request Formats

application/json, text/json

Sample:
{
  "kind": 1,
  "parentId": "sample string 2"
}

text/xml

Sample:
<LocationParam xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/MISA.Auth.Entity.Param.IMSParam">
  <kind>1</kind>
  <parentId>sample string 2</parentId>
</LocationParam>

application/x-www-form-urlencoded

Sample:

Sample not available.

Response Information

Resource Description

IMSServiceResult
NameDescriptionTypeAdditional information
Success

boolean

None.

Data

Object

None.

CustomData

Object

None.

Code

string

None.

Message

string

None.

Response Formats

application/json, text/json

Sample:
{
  "Success": true,
  "Data": {},
  "CustomData": {},
  "Code": "sample string 4",
  "Message": "sample string 5"
}

text/xml

Sample:
<IMSServiceResult xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/MISA.Auth.Entity.Response.IMSResponse">
  <Code>sample string 4</Code>
  <CustomData />
  <Data />
  <Message>sample string 5</Message>
  <Success>true</Success>
</IMSServiceResult>