POST Api/Locations/Add
Request Information
URI Parameters
None.
Body Parameters
Location| Name | Description | Type | Additional information |
|---|---|---|---|
| LocationId | integer |
None. |
|
| Name | string |
None. |
|
| StartDate | date |
None. |
|
| EndDate | date |
None. |
|
| LocationTypeId | integer |
None. |
|
| EventTypeId | integer |
None. |
|
| MarketingDocumentId | integer |
None. |
|
| ClinicId | integer |
None. |
|
| IsActive | boolean |
None. |
|
| AlertDaysPrior | integer |
None. |
|
| EmployeeId | integer |
None. |
Request Formats
application/json, text/json
Sample:
{
"locationId": 1,
"name": "sample string 2",
"startDate": "2026-05-06T03:14:46.4392822+02:00",
"endDate": "2026-05-06T03:14:46.4392822+02:00",
"locationTypeId": 1,
"eventTypeId": 1,
"marketingDocumentId": 1,
"clinicId": 1,
"isActive": true,
"alertDaysPrior": 6,
"employeeId": 1
}
text/html
Sample:
{"locationId":1,"name":"sample string 2","startDate":"2026-05-06T03:14:46.4392822+02:00","endDate":"2026-05-06T03:14:46.4392822+02:00","locationTypeId":1,"eventTypeId":1,"marketingDocumentId":1,"clinicId":1,"isActive":true,"alertDaysPrior":6,"employeeId":1}
application/xml
Sample:
text/xml
Sample:
application/x-www-form-urlencoded
Sample:
Response Information
Resource Description
IHttpActionResultNone.
Response Formats
application/json, text/json, text/html, application/xml, text/xml
Sample:
Sample not available.