All Verbs | /service/SaveMarketDates |
---|
Name | Parameter | Data Type | Required | Description |
---|---|---|---|---|
Market | query | string | No | |
Year | query | string | No | |
items | query | List<MarketDate> | No |
Name | Parameter | Data Type | Required | Description |
---|---|---|---|---|
Market | form | string | No | |
ShowDate | form | DateTime | No | |
DayNum | form | int | No | |
ShowCode | form | string | No | |
Year | form | string | No | |
ProjectionShowCode | form | string | No | |
ProjectionDollar | form | decimal | 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/SaveMarketDates HTTP/1.1
Host: www.bernhardthospitality.com
Accept: application/vnd.openxmlformats-officedocument.spreadsheetml.sheet
Content-Type: application/vnd.openxmlformats-officedocument.spreadsheetml.sheet
Content-Length: length
{"market":"String","year":"String","items":[{"market":"String","showDate":"0001-01-01T00:00:00.0000000Z","dayNum":0,"showCode":"String","year":"String","projectionShowCode":"String","projectionDollar":0}]}
HTTP/1.1 200 OK Content-Type: application/vnd.openxmlformats-officedocument.spreadsheetml.sheet Content-Length: length {}