GET api/User?userId={userId}&siteId={siteId}&userId2={userId2}&startYear={startYear}&startMonth={startMonth}&startDay={startDay}&endYear={endYear}&endMonth={endMonth}&endDay={endDay}
Request Information
URI Parameters
| Name | Description | Type | Additional information |
|---|---|---|---|
| userId | globally unique identifier |
Required |
|
| siteId | globally unique identifier |
Required |
|
| userId2 | globally unique identifier |
Required |
|
| startYear | integer |
Required |
|
| startMonth | integer |
Required |
|
| startDay | integer |
Required |
|
| endYear | integer |
Required |
|
| endMonth | integer |
Required |
|
| endDay | integer |
Required |
Body Parameters
None.
Response Information
Resource Description
PSAPIResponse| Name | Description | Type | Additional information |
|---|---|---|---|
| Payload | Object |
None. |
|
| isError | boolean |
None. |
|
| ErrorMessage | string |
None. |
|
| ErrorCode | integer |
None. |
Response Formats
application/json, text/json
Sample:
{
"Payload": {},
"isError": true,
"ErrorMessage": "sample string 3",
"ErrorCode": 4
}
text/html
Sample:
{"Payload":{},"isError":true,"ErrorMessage":"sample string 3","ErrorCode":4}
application/xml, text/xml
Sample:
<PSAPIResponse xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/PSRest.Controllers"> <ErrorCode>4</ErrorCode> <ErrorMessage>sample string 3</ErrorMessage> <Payload /> <isError>true</isError> </PSAPIResponse>