All Verbs | /service/CreateBadgeScan |
---|
Name | Parameter | Data Type | Required | Description |
---|---|---|---|---|
Id | form | string | No | |
BadgeId | form | string | No | |
Data | form | JsonObject | No | |
ShowCode | form | string | No | |
ScannedOn | form | DateTime | No | |
CompanyName | form | string | No | |
FirstName | form | string | No | |
LastName | form | string | No | |
Address | form | string | No | |
Address2 | form | string | No | |
City | form | string | No | |
State | form | string | No | |
Zip | form | string | No | |
Country | form | string | No | |
Phone | form | string | No | |
form | string | No | ||
Provider | form | string | No |
To override the Content-type in your clients, use the HTTP Accept Header, append the .other suffix or ?format=other
The following are sample HTTP requests and responses. The placeholders shown need to be replaced with actual values.
POST /service/CreateBadgeScan HTTP/1.1
Host: www.bernhardthospitality.com
Accept: application/xlsx
Content-Type: application/xlsx
Content-Length: length
{"id":"String","badgeId":"String","data":{"String":"String"},"showCode":"String","scannedOn":"0001-01-01T00:00:00.0000000Z","companyName":"String","firstName":"String","lastName":"String","address":"String","address2":"String","city":"String","state":"String","zip":"String","country":"String","phone":"String","email":"String","provider":"String"}
HTTP/1.1 200 OK Content-Type: application/xlsx Content-Length: length {"id":"String","badgeId":"String","data":{"String":"String"},"showCode":"String","scannedOn":"0001-01-01T00:00:00.0000000Z","companyName":"String","firstName":"String","lastName":"String","address":"String","address2":"String","city":"String","state":"String","zip":"String","country":"String","phone":"String","email":"String","provider":"String"}