| GET | /invalidbadges | Gets the errors for an invalid user badge barcode. |
|---|
| Name | Parameter | Data Type | Required | Description |
|---|---|---|---|---|
| UserID | query | Guid? | Yes | The Api key that authorizes the customer to complete the request. Either UserID or UserBadgeBarcode must be provided for authentication when calling the Api. Contact your eQuip admin. |
| UserBadgeBarcode | query | string | Yes | The User Badge Barcode that authorizes the user to complete the request. Either UserID or UserBadgeBarcode must be provided for authentication when calling the Api. Contact your eQuip admin. |
| PageSize | query | int | No | The Number of Invalid UserBadgeBarcode errors to return. 0 returns all entries. |
| PageNumber | query | int | No | The page number to start retrieving data. 0 returns first page entries. |
To override the Content-type in your clients, use the HTTP Accept Header, append the .json suffix or ?format=json
To embed the response in a jsonp callback, append ?callback=myCallback
The following are sample HTTP requests and responses. The placeholders shown need to be replaced with actual values.
POST /json/reply/FindInvalidBadges HTTP/1.1
Host: equipstage3.e-isg.com
Content-Type: application/json
Content-Length: length
{"UserID":"00000000000000000000000000000000","UserBadgeBarcode":"String","PageSize":0,"PageNumber":0}
HTTP/1.1 200 OK
Content-Type: application/json
Content-Length: length
{"ApiName":"String","FieldName":"String","FieldValue":"String","Error":"String","ErrorLoggedDate":"\/Date(-62135596800000-0000)\/"}