POST api/ExternalClient/SetCardPass
Request Information
URI Parameters
None.
Body Parameters
CardPassName | Description | Type | Additional information |
---|---|---|---|
cardNumber | string |
None. |
|
cardType | integer |
None. |
|
days | integer |
None. |
|
passStart | date |
None. |
|
passEnd | date |
None. |
|
deviceID | integer |
None. |
|
employeeID | integer |
None. |
|
deviceType | integer |
None. |
Request Formats
application/json, text/json
Sample:
{ "cardNumber": "sample string 1", "cardType": 2, "days": 3, "passStart": "2024-11-19T07:44:29.89388+00:00", "passEnd": "2024-11-19T07:44:29.89388+00:00", "deviceID": 6, "employeeID": 7, "deviceType": 8 }
application/xml, text/xml
Sample:
<ExternalClientController.CardPass xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/CustomerAPI.Controllers"> <cardNumber>sample string 1</cardNumber> <cardType>2</cardType> <days>3</days> <deviceID>6</deviceID> <deviceType>8</deviceType> <employeeID>7</employeeID> <passEnd>2024-11-19T07:44:29.89388+00:00</passEnd> <passStart>2024-11-19T07:44:29.89388+00:00</passStart> </ExternalClientController.CardPass>
application/x-www-form-urlencoded
Sample:
Sample not available.
Response Information
Resource Description
stringResponse Formats
application/json, text/json
Sample:
"sample string 1"
application/xml, text/xml
Sample:
<string xmlns="http://schemas.microsoft.com/2003/10/Serialization/">sample string 1</string>