PUT api/schedule/appointment/{a_event}
Request Information
URI Parameters
| Name | Description | Type | Additional information |
|---|---|---|---|
| a_event | integer |
Default value is 0 |
Body Parameters
DTOAppt| Name | Description | Type | Additional information |
|---|---|---|---|
| Id | integer |
None. |
|
| CustomerName | string |
None. |
|
| EventType | string |
None. |
|
| TimeSlot | string |
None. |
|
| StartTime | string |
None. |
|
| EndTime | string |
None. |
|
| MultiDay | boolean |
None. |
|
| SkipWeekends | boolean |
None. |
|
| Notes | string |
None. |
|
| StartDate | string |
None. |
|
| EndDate | string |
None. |
|
| Hotel | boolean |
None. |
|
| Locksmith | boolean |
None. |
|
| ProjectManager | boolean |
None. |
|
| Electrician | boolean |
None. |
|
| Forklift | boolean |
None. |
|
| Technicians | Collection of integer |
None. |
|
| Jobs | Collection of integer |
None. |
Request Formats
application/json, text/json
Sample:
{
"Id": 1,
"CustomerName": "sample string 2",
"EventType": "sample string 3",
"TimeSlot": "sample string 4",
"StartTime": "sample string 5",
"EndTime": "sample string 6",
"MultiDay": true,
"SkipWeekends": true,
"Notes": "sample string 9",
"StartDate": "sample string 10",
"EndDate": "sample string 11",
"Hotel": true,
"Locksmith": true,
"ProjectManager": true,
"Electrician": true,
"Forklift": true,
"Technicians": [
1,
2
],
"Jobs": [
1,
2
]
}
application/xml, text/xml
Sample:
<DTOAppt xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/eps_api.Models">
<CustomerName>sample string 2</CustomerName>
<Electrician>true</Electrician>
<EndDate>sample string 11</EndDate>
<EndTime>sample string 6</EndTime>
<EventType>sample string 3</EventType>
<Forklift>true</Forklift>
<Hotel>true</Hotel>
<Id>1</Id>
<Jobs xmlns:d2p1="http://schemas.microsoft.com/2003/10/Serialization/Arrays">
<d2p1:int>1</d2p1:int>
<d2p1:int>2</d2p1:int>
</Jobs>
<Locksmith>true</Locksmith>
<MultiDay>true</MultiDay>
<Notes>sample string 9</Notes>
<ProjectManager>true</ProjectManager>
<SkipWeekends>true</SkipWeekends>
<StartDate>sample string 10</StartDate>
<StartTime>sample string 5</StartTime>
<Technicians xmlns:d2p1="http://schemas.microsoft.com/2003/10/Serialization/Arrays">
<d2p1:int>1</d2p1:int>
<d2p1:int>2</d2p1:int>
</Technicians>
<TimeSlot>sample string 4</TimeSlot>
</DTOAppt>
application/x-www-form-urlencoded
Sample:
Sample not available.
Response Information
Resource Description
stringResponse Formats
application/json, text/json
Sample:
"sample string 1"
application/xml, text/xml
Sample:
<string xmlns="http://schemas.microsoft.com/2003/10/Serialization/">sample string 1</string>