GET api/User/GetUserLocationByUserId?userId={userId}

Request Information

URI Parameters

NameDescriptionTypeAdditional information
userId

string

Required

Body Parameters

None.

Response Information

Resource Description

GetResponseOfUserLocationModel
NameDescriptionTypeAdditional information
Status

boolean

None.

Entity

UserLocationModel

None.

Response Formats

application/json, text/json

Sample:
{
  "Status": true,
  "Entity": {
    "UserId": "sample string 1",
    "LocationCode": "sample string 2",
    "LocationName": "sample string 3"
  }
}

application/xml, text/xml

Sample:
<GetResponseOfUserLocationModeloh1q7_SJj xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/AvicollectSecurity.Logic.Models">
  <Entity>
    <LocationCode>sample string 2</LocationCode>
    <LocationName>sample string 3</LocationName>
    <UserId>sample string 1</UserId>
  </Entity>
  <Status>true</Status>
</GetResponseOfUserLocationModeloh1q7_SJj>