POST api/Codeco/SubmitDecoration
Request Information
URI Parameters
None.
Body Parameters
DecorationModelName | Description | Type | Additional information |
---|---|---|---|
ClientName | string |
None. |
|
Salutation | string |
None. |
|
CountryCode | string |
None. |
|
Phone | string |
None. |
|
PropertyAddress | string |
None. |
|
Signature | string |
None. |
|
StaffName | string |
None. |
|
StaffNo | string |
None. |
|
CountryCode_Staff | string |
None. |
|
StaffPhone | string |
None. |
|
Branch | string |
None. |
|
Consultant | string |
None. |
|
ExpectedHandoverDate | string |
None. |
|
Occupying | boolean |
None. |
|
ServiceType | Collection of string |
None. |
|
RenovationBudget | string |
None. |
Request Formats
application/json, text/json
Sample:
{ "ClientName": "sample string 1", "Salutation": "sample string 2", "CountryCode": "sample string 3", "Phone": "sample string 4", "PropertyAddress": "sample string 5", "Signature": "sample string 6", "StaffName": "sample string 7", "StaffNo": "sample string 8", "CountryCode_Staff": "sample string 9", "StaffPhone": "sample string 10", "Branch": "sample string 11", "Consultant": "sample string 12", "ExpectedHandoverDate": "sample string 13", "Occupying": true, "ServiceType": [ "sample string 1", "sample string 2" ], "RenovationBudget": "sample string 14" }
text/xml
Sample:
<DecorationModel xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/CentaMortgageWebAPI.Models"> <Branch>sample string 11</Branch> <ClientName>sample string 1</ClientName> <Consultant>sample string 12</Consultant> <CountryCode>sample string 3</CountryCode> <CountryCode_Staff>sample string 9</CountryCode_Staff> <ExpectedHandoverDate>sample string 13</ExpectedHandoverDate> <Occupying>true</Occupying> <Phone>sample string 4</Phone> <PropertyAddress>sample string 5</PropertyAddress> <RenovationBudget>sample string 14</RenovationBudget> <Salutation>sample string 2</Salutation> <ServiceType xmlns:d2p1="http://schemas.microsoft.com/2003/10/Serialization/Arrays"> <d2p1:string>sample string 1</d2p1:string> <d2p1:string>sample string 2</d2p1:string> </ServiceType> <Signature>sample string 6</Signature> <StaffName>sample string 7</StaffName> <StaffNo>sample string 8</StaffNo> <StaffPhone>sample string 10</StaffPhone> </DecorationModel>
application/x-www-form-urlencoded
Sample:
Response Information
Resource Description
DecorationResponseName | Description | Type | Additional information |
---|---|---|---|
DecorationID | string |
None. |
|
ResponseCode | ResponseCode |
None. |
|
AlertMessage | string |
None. |
Response Formats
application/json, text/json
Sample:
{ "DecorationID": "sample string 1", "ResponseCode": 1, "AlertMessage": "sample string 2" }
text/xml
Sample:
<DecorationResponse xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/CentaMortgageWebAPI.Models"> <AlertMessage>sample string 2</AlertMessage> <ResponseCode>Success</ResponseCode> <DecorationID>sample string 1</DecorationID> </DecorationResponse>