POST appointment/AddAppointment
Request Information
URI Parameters
None.
Body Parameters
iAddOrUpdateAppointmentName | Description | Type | Additional information |
---|---|---|---|
warrantyID | globally unique identifier |
None. |
|
userID | globally unique identifier |
None. |
|
name | string |
None. |
|
phone | string |
None. |
|
date | string |
None. |
|
timerange | string |
None. |
|
description | string |
None. |
|
createdID | string |
None. |
Request Formats
application/json, text/json
Sample:
{ "warrantyID": "f2464cf9-5285-4445-9042-379fbbaaf417", "userID": "a34ebe9a-b3f9-4296-be49-1db32b6b2de3", "name": "sample string 3", "phone": "sample string 4", "date": "sample string 5", "timerange": "sample string 6", "description": "sample string 7", "createdID": "sample string 8" }
application/xml, text/xml
Sample:
<iAddOrUpdateAppointment xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/WNTY_DAT.Model"> <createdID>sample string 8</createdID> <date>sample string 5</date> <description>sample string 7</description> <name>sample string 3</name> <phone>sample string 4</phone> <timerange>sample string 6</timerange> <userID>a34ebe9a-b3f9-4296-be49-1db32b6b2de3</userID> <warrantyID>f2464cf9-5285-4445-9042-379fbbaaf417</warrantyID> </iAddOrUpdateAppointment>
application/x-www-form-urlencoded
Sample:
Sample not available.
Response Information
Resource Description
oResultName | Description | Type | Additional information |
---|---|---|---|
StatusCode | boolean |
None. |
|
Message | string |
None. |
|
Lang | string |
None. |
|
Records | Collection of Object |
None. |
|
ListingData1 | Collection of Object |
None. |
|
ListingData2 | Collection of Object |
None. |
|
ListingData3 | Collection of Object |
None. |
Response Formats
application/json, text/json
Sample:
{ "StatusCode": true, "Message": "sample string 2", "Lang": "sample string 3", "Records": [ {}, {} ], "ListingData1": [ {}, {} ], "ListingData2": [ {}, {} ], "ListingData3": [ {}, {} ] }
application/xml, text/xml
Sample:
<oResult xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/WNTY_DAT.Model"> <Lang>sample string 3</Lang> <ListingData1 xmlns:d2p1="http://schemas.microsoft.com/2003/10/Serialization/Arrays"> <d2p1:anyType /> <d2p1:anyType /> </ListingData1> <ListingData2 xmlns:d2p1="http://schemas.microsoft.com/2003/10/Serialization/Arrays"> <d2p1:anyType /> <d2p1:anyType /> </ListingData2> <ListingData3 xmlns:d2p1="http://schemas.microsoft.com/2003/10/Serialization/Arrays"> <d2p1:anyType /> <d2p1:anyType /> </ListingData3> <Message>sample string 2</Message> <Records xmlns:d2p1="http://schemas.microsoft.com/2003/10/Serialization/Arrays"> <d2p1:anyType /> <d2p1:anyType /> </Records> <StatusCode>true</StatusCode> </oResult>