POST Visit/AddVisit
Request Information
URI Parameters
None.
Body Parameters
Visit| Name | Description | Type | Additional information |
|---|---|---|---|
| APIKey | string |
None. |
|
| Client | Client |
None. |
|
| ArchitectsList | Collection of Architect |
None. |
|
| IsFollowUpRequired | boolean |
None. |
|
| NextFollowUpDetail | FollowUp |
None. |
|
| VisitId | integer |
None. |
|
| UserId | integer |
None. |
|
| ClientId | integer |
None. |
|
| VisitTime | date |
None. |
|
| Latitude | string |
None. |
|
| Longitude | string |
None. |
|
| FlatNo | string |
None. |
|
| Building | string |
None. |
|
| Wing | string |
None. |
|
| AddressLine1 | string |
None. |
|
| AddressLine2 | string |
None. |
|
| Area | string |
None. |
|
| City | string |
None. |
|
| IsWorkStarted | boolean |
None. |
|
| ExpectedStartDate | date |
None. |
|
| RemainingDays | integer |
None. |
|
| DetailsOfPurchase | string |
None. |
|
| PurchaseLocation | string |
None. |
|
| IsTest | boolean |
None. |
|
| Requirement | string |
None. |
|
| FlatNoWing | string |
None. |
|
| VisitDetails | Collection of VisitDetail |
None. |
Request Formats
application/json
Sample:
Sample not available.
text/json
Sample:
Sample not available.
application/xml
Sample:
Sample not available.
text/xml
Sample:
Sample not available.
application/x-www-form-urlencoded
Sample:
Sample not available.
Response Information
Resource Description
WebAPIResponse| Name | Description | Type | Additional information |
|---|---|---|---|
| Success | boolean |
None. |
|
| Message | string |
None. |
|
| Data | Object |
None. |
|
| Error | string |
None. |
Response Formats
application/json, text/json
Sample:
{
"Success": true,
"Message": "sample string 2",
"Data": {},
"Error": "sample string 4"
}
application/xml, text/xml
Sample:
<WebAPIResponse xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/BAL"> <Data /> <Error>sample string 4</Error> <Message>sample string 2</Message> <Success>true</Success> </WebAPIResponse>