POST api/Admin/Tenant/{tenantId}/Catering/PickupLocations
Request Information
URI Parameters
| Name | Description | Type | Additional information |
|---|---|---|---|
| tenantId | integer |
Required |
Body Parameters
CateringPickupLocationPostDTO| Name | Description | Type | Additional information |
|---|---|---|---|
| Name | string |
None. |
|
| RequireComment | boolean |
None. |
|
| LocationId | integer |
None. |
Request Formats
application/json, text/json
Sample:
{
"Name": "sample string 1",
"RequireComment": true,
"LocationId": 3
}
application/xml, text/xml
Sample:
<CateringPickupLocationPostDTO xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/Bluedock.Booking.Rest.Models.Catering"> <LocationId>3</LocationId> <Name>sample string 1</Name> <RequireComment>true</RequireComment> </CateringPickupLocationPostDTO>
application/x-www-form-urlencoded
Sample:
Response Information
Resource Description
IHttpActionResultNone.
Response Formats
application/json, text/json, application/xml, text/xml
Sample:
Sample not available.