EMUN1 ASP.NET

<back to all web services

SaveMarketDates

The following routes are available for this service:
All Verbs/service/SaveMarketDates
SaveMarketDates Parameters:
NameParameterData TypeRequiredDescription
MarketquerystringNo
YearquerystringNo
itemsqueryList<MarketDate>No
MarketDate Parameters:
NameParameterData TypeRequiredDescription
MarketformstringNo
ShowDateformDateTimeNo
DayNumformintNo
ShowCodeformstringNo
YearformstringNo
ProjectionShowCodeformstringNo
ProjectionDollarformdecimalNo

To override the Content-type in your clients, use the HTTP Accept Header, append the .other suffix or ?format=other

HTTP + 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

{}