| POST | /api/meeting-room/costs |
|---|
| Name | Parameter | Data Type | Required | Description |
|---|---|---|---|---|
| MeetingRoomId | body | int | No | |
| StartDate | body | DateTime | No | |
| EndDate | body | DateTime | No | |
| ServiceOptions | body | List<ServiceOption> | No |
| Name | Parameter | Data Type | Required | Description |
|---|---|---|---|---|
| Token | form | string | No |
| Name | Parameter | Data Type | Required | Description |
|---|---|---|---|---|
| AppVersion | form | string | No |
| Name | Parameter | Data Type | Required | Description |
|---|---|---|---|---|
| IsAvailable | form | bool | No | |
| TotalCost | form | decimal | No | |
| MeetingRoomCost | form | decimal | No | |
| ServiceCosts | form | IList<ServiceCost> | No |
| Name | Parameter | Data Type | Required | Description |
|---|---|---|---|---|
| Success | model | boolean | Yes | |
| Error | model | ResponseError | No |
| Name | Parameter | Data Type | Required | Description |
|---|---|---|---|---|
| Summary | model | string | No | |
| Message | model | string | No | |
| Details | model | string | No |
| Name | Parameter | Data Type | Required | Description |
|---|---|---|---|---|
| ServiceId | form | int | No | |
| ServiceName | form | string | No | |
| CostDescription | form | string | No |
| Name | Parameter | Data Type | Required | Description |
|---|---|---|---|---|
| ServiceId | form | int | No | |
| ServiceName | form | string | No | |
| Selected | form | bool | No | |
| NeedsDuration | form | bool | No | |
| NeedsQuantity | form | bool | No | |
| DurationHours | form | decimal | No | |
| Quantity | form | int | No |
| Name | Parameter | Data Type | Required | Description |
|---|---|---|---|---|
| IsAvailable | form | bool | No | |
| TotalCost | form | decimal | No | |
| MeetingRoomCost | form | decimal | No | |
| ServiceCosts | form | IList<ServiceCost> | No |
To override the Content-type in your clients, use the HTTP Accept Header, append the .json suffix or ?format=json
To embed the response in a jsonp callback, append ?callback=myCallback
The following are sample HTTP requests and responses. The placeholders shown need to be replaced with actual values.
POST /api/meeting-room/costs HTTP/1.1
Host: api.davincimeetingrooms.com
Accept: application/json
Content-Type: application/json
Content-Length: length
{"MeetingRoomId":0,"ServiceOptions":[{"ServiceId":0,"ServiceName":"String","Selected":false,"NeedsDuration":false,"NeedsQuantity":false,"DurationHours":0,"Quantity":0}],"Token":"String","AppVersion":"String"}
HTTP/1.1 200 OK
Content-Type: application/json
Content-Length: length
{"IsAvailable":false,"TotalCost":0,"MeetingRoomCost":0,"Success":false,"Error":{"Summary":"String","Message":"String","Details":"String"}}