PUT api/Content/v2/AddTourDePearlRegistration
Request Information
URI Parameters
None.
Body Parameters
TourDePearlRegistrationRequestName | Description | Type | Additional information |
---|---|---|---|
ContactId | integer |
None. |
|
CustomerId | integer |
None. |
|
SourceOfHear | integer |
None. |
|
ShirtStyle | string |
None. |
|
Size | string |
None. |
|
TranscationId | string |
None. |
|
IsPaid | boolean |
None. |
Request Formats
application/json, text/json
Sample:
{ "ContactId": 1, "CustomerId": 2, "SourceOfHear": 3, "ShirtStyle": "sample string 4", "Size": "sample string 5", "TranscationId": "sample string 6", "IsPaid": true }
application/xml, text/xml
Sample:
<TourDePearlRegistrationRequest xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/Tsunami.Model"> <ContactId>1</ContactId> <CustomerId>2</CustomerId> <IsPaid>true</IsPaid> <ShirtStyle>sample string 4</ShirtStyle> <Size>sample string 5</Size> <SourceOfHear>3</SourceOfHear> <TranscationId>sample string 6</TranscationId> </TourDePearlRegistrationRequest>
application/x-www-form-urlencoded
Sample:
Sample not available.
Response Information
Resource Description
TourDePearlRegistrationResponseName | Description | Type | Additional information |
---|---|---|---|
Id | integer |
None. |
Response Formats
application/json, text/json
Sample:
{ "Id": 1 }
application/xml, text/xml
Sample:
<TourDePearlRegistrationResponse xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/Tsunami.Model"> <Id>1</Id> </TourDePearlRegistrationResponse>