POST Clients/{client_id}/Visits
Request Information
URI Parameters
| Name | Description | Type | Additional information |
|---|---|---|---|
| client_id | integer |
Required |
Body Parameters
NewVisit| Name | Description | Type | Additional information |
|---|---|---|---|
| Date | string |
None. |
|
| Title | string |
None. |
|
| TypeId | integer |
None. |
|
| Participants | string |
None. |
|
| Comment | string |
None. |
|
| Location | string |
None. |
Request Formats
application/json, text/json
Sample:
{
"date": "sample string 1",
"title": "sample string 2",
"typeId": 3,
"participants": "sample string 4",
"comment": "sample string 5",
"location": "sample string 6"
}
application/xml, text/xml
Sample:
<NewVisit xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/MyClients.WebAPI.Models"> <Comment>sample string 5</Comment> <Date>sample string 1</Date> <Location>sample string 6</Location> <Participants>sample string 4</Participants> <Title>sample string 2</Title> <TypeId>3</TypeId> </NewVisit>
application/x-www-form-urlencoded
Sample:
Response Information
Resource Description
HttpResponseMessage| Name | Description | Type | Additional information |
|---|---|---|---|
| Version | Version |
None. |
|
| Content | HttpContent |
None. |
|
| StatusCode | HttpStatusCode |
None. |
|
| ReasonPhrase | string |
None. |
|
| Headers | Collection of Object |
None. |
|
| RequestMessage | HttpRequestMessage |
None. |
|
| IsSuccessStatusCode | boolean |
None. |