All Verbs | /service/auth/GetApiKey | ||
---|---|---|---|
All Verbs | /service/GetApiKey |
Name | Parameter | Data Type | Required | Description |
---|---|---|---|---|
Id | form | string | No | |
UserAuthId | form | string | No | |
Environment | form | string | No | |
KeyType | form | string | No | |
CreatedDate | form | DateTime | No | |
ExpiryDate | form | DateTime? | No | |
CancelledDate | form | DateTime? | No | |
Notes | form | string | No | |
RefId | form | int? | No | |
RefIdStr | form | string | No | |
Meta | form | Dictionary<string, 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/auth/GetApiKey HTTP/1.1
Host: www.bernhardthospitality.com
Accept: application/xlsx
Content-Type: application/xlsx
Content-Length: length
{}
HTTP/1.1 200 OK Content-Type: application/xlsx Content-Length: length {"id":"String","userAuthId":"String","environment":"String","keyType":"String","createdDate":"0001-01-01T00:00:00.0000000Z","expiryDate":"0001-01-01T00:00:00.0000000Z","cancelledDate":"0001-01-01T00:00:00.0000000Z","notes":"String","refId":0,"refIdStr":"String","meta":{"String":"String"}}