POST api/User/SearchUserLocation
Request Information
URI Parameters
None.
Body Parameters
SearchCallOfUserLocationSearchModelName | Description | Type | Additional information |
---|---|---|---|
PageSize | integer |
None. |
|
From | integer |
None. |
|
Parameter | UserLocationSearchModel |
None. |
Request Formats
application/json, text/json
Sample:
{ "PageSize": 1, "From": 1, "Parameter": { "UserId": "sample string 1", "LocationCode": "sample string 2" } }
application/xml, text/xml
Sample:
<SearchCallOfUserLocationSearchModeloh1q7_SJj xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/Stardust"> <From>1</From> <PageSize>1</PageSize> <Parameter xmlns:d2p1="http://schemas.datacontract.org/2004/07/AvicollectSecurity.Logic.Models"> <d2p1:LocationCode>sample string 2</d2p1:LocationCode> <d2p1:UserId>sample string 1</d2p1:UserId> </Parameter> </SearchCallOfUserLocationSearchModeloh1q7_SJj>
application/x-www-form-urlencoded
Sample:
Response Information
Resource Description
SearchReplyOfUserLocationModelName | Description | Type | Additional information |
---|---|---|---|
TotalCount | integer |
None. |
|
Took | integer |
None. |
|
Results | Collection of UserLocationModel |
None. |
Response Formats
application/json, text/json
Sample:
{ "TotalCount": 1, "Took": 2, "Results": [ { "UserId": "sample string 1", "LocationCode": "sample string 2", "LocationName": "sample string 3" }, { "UserId": "sample string 1", "LocationCode": "sample string 2", "LocationName": "sample string 3" } ] }
application/xml, text/xml
Sample:
<SearchReplyOfUserLocationModeloh1q7_SJj xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/Stardust"> <Results xmlns:d2p1="http://schemas.datacontract.org/2004/07/AvicollectSecurity.Logic.Models"> <d2p1:UserLocationModel> <d2p1:LocationCode>sample string 2</d2p1:LocationCode> <d2p1:LocationName>sample string 3</d2p1:LocationName> <d2p1:UserId>sample string 1</d2p1:UserId> </d2p1:UserLocationModel> <d2p1:UserLocationModel> <d2p1:LocationCode>sample string 2</d2p1:LocationCode> <d2p1:LocationName>sample string 3</d2p1:LocationName> <d2p1:UserId>sample string 1</d2p1:UserId> </d2p1:UserLocationModel> </Results> <Took>2</Took> <TotalCount>1</TotalCount> </SearchReplyOfUserLocationModeloh1q7_SJj>