POST appointment/AddAppointmentByAdmin
Request Information
URI Parameters
None.
Body Parameters
iAddOrUpdateAppointmentName | Description | Type | Additional information |
---|---|---|---|
serialNumberID | globally unique identifier |
None. |
|
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. |
|
companyID | globally unique identifier |
None. |
Request Formats
application/json, text/json
Sample:
{ "serialNumberID": "c2f4781f-bd91-43f5-9298-1315c3e2e580", "warrantyID": "65eb3549-ab63-4f78-8267-17533089c296", "userID": "10fbb464-98f4-4fea-8ed1-759450c3d0e1", "name": "sample string 4", "phone": "sample string 5", "date": "sample string 6", "timerange": "sample string 7", "description": "sample string 8", "createdID": "sample string 9", "companyID": "701940ab-3f57-4bd9-97ab-a4243530037a" }
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"> <companyID>701940ab-3f57-4bd9-97ab-a4243530037a</companyID> <createdID>sample string 9</createdID> <date>sample string 6</date> <description>sample string 8</description> <name>sample string 4</name> <phone>sample string 5</phone> <serialNumberID>c2f4781f-bd91-43f5-9298-1315c3e2e580</serialNumberID> <timerange>sample string 7</timerange> <userID>10fbb464-98f4-4fea-8ed1-759450c3d0e1</userID> <warrantyID>65eb3549-ab63-4f78-8267-17533089c296</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>