PUT api/Content/v3/PassportManualRequest
Request Information
URI Parameters
None.
Body Parameters
APIPassportRequest| Name | Description | Type | Additional information |
|---|---|---|---|
| CustomerId | integer |
None. |
|
| UniqueId | globally unique identifier |
None. |
|
| UserUniqueId | integer |
None. |
|
| ImageType | integer |
None. |
|
| Photo | string |
None. |
|
| ReceiptPhoto | string |
None. |
|
| LoyaltyEventId | integer |
None. |
|
| Latitude | decimal number |
None. |
|
| Longitude | decimal number |
None. |
|
| LocationId | integer |
None. |
|
| LanguageId | integer |
None. |
Request Formats
application/json, text/json
Sample:
{
"CustomerId": 1,
"UniqueId": "b360d438-05f9-4a7b-88fb-1c8ab6fca8fe",
"UserUniqueId": 3,
"ImageType": 4,
"Photo": "sample string 5",
"ReceiptPhoto": "sample string 6",
"LoyaltyEventId": 7,
"Latitude": 8.0,
"Longitude": 9.0,
"LocationId": 10,
"LanguageId": 11
}
application/xml, text/xml
Sample:
<APIPassportRequest xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/Tsunami.Model"> <CustomerId>1</CustomerId> <ImageType>4</ImageType> <LanguageId>11</LanguageId> <Latitude>8</Latitude> <LocationId>10</LocationId> <Longitude>9</Longitude> <LoyaltyEventId>7</LoyaltyEventId> <Photo>sample string 5</Photo> <ReceiptPhoto>sample string 6</ReceiptPhoto> <UniqueId>b360d438-05f9-4a7b-88fb-1c8ab6fca8fe</UniqueId> <UserUniqueId>3</UserUniqueId> </APIPassportRequest>
application/x-www-form-urlencoded
Sample:
Sample not available.
Response Information
Resource Description
APIResult| Name | Description | Type | Additional information |
|---|---|---|---|
| Status | boolean |
None. |
|
| Message | string |
None. |
Response Formats
application/json, text/json
Sample:
{
"Status": true,
"Message": "sample string 2"
}
application/xml, text/xml
Sample:
<APIResult xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/Tsunami.Model"> <Message>sample string 2</Message> <Status>true</Status> </APIResult>