PUT api/Contentions/{id}
Request Information
URI Parameters
Name | Description | Type | Additional information |
---|---|---|---|
id | globally unique identifier |
Required |
Body Parameters
PostContentionName | Description | Type | Additional information |
---|---|---|---|
SourceContentionId | globally unique identifier |
None. |
|
CampaignId | globally unique identifier |
None. |
|
CampaignGroupId | globally unique identifier |
None. |
|
ScanCode | string |
String length: inclusive between 0 and 200 |
|
NumberOfSerialNumbers | integer |
Range: inclusive between 1 and 2147483647 |
|
Name | string |
Required String length: inclusive between 0 and 100 |
|
Remarks | string |
String length: inclusive between 0 and 400 |
|
Text | string |
Required String length: inclusive between 0 and 150 |
|
Start | date |
None. |
|
End | date |
None. |
|
AnswerType | ContentionAnswerType |
None. |
|
PublisherId | globally unique identifier |
None. |
|
DeliveryCountryCode | string |
Required |
|
Explanation | string |
None. |
|
Url | string |
None. |
|
Image | Collection of byte |
None. |
|
ImageUrl | string |
None. |
Request Formats
application/json, text/json
Sample:
{ "SourceContentionId": "1e4d20e8-68a5-4f93-a16f-ea2ee34b2cd7", "CampaignId": "cbbe5ee9-c0e0-4eb5-8a09-f017cb91e2f5", "CampaignGroupId": "7111d4e6-4efa-439a-851e-b79f974ec406", "ScanCode": "sample string 3", "NumberOfSerialNumbers": 4, "Name": "sample string 5", "Remarks": "sample string 6", "Text": "sample string 7", "Start": "2022-05-11T23:50:43.722876+00:00", "End": "2022-05-11T23:50:43.722876+00:00", "AnswerType": 0, "PublisherId": "091f5867-9487-4a47-a4d3-a6d8bd025c57", "DeliveryCountryCode": "sample string 10", "Explanation": "sample string 11", "Url": "sample string 12", "Image": "QEA=", "ImageUrl": "sample string 13" }
application/xml, text/xml
Sample:
<PostContention xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xsd="http://www.w3.org/2001/XMLSchema"> <SourceContentionId>1e4d20e8-68a5-4f93-a16f-ea2ee34b2cd7</SourceContentionId> <CampaignId>cbbe5ee9-c0e0-4eb5-8a09-f017cb91e2f5</CampaignId> <CampaignGroupId>7111d4e6-4efa-439a-851e-b79f974ec406</CampaignGroupId> <ScanCode>sample string 3</ScanCode> <NumberOfSerialNumbers>4</NumberOfSerialNumbers> <Name>sample string 5</Name> <Remarks>sample string 6</Remarks> <Text>sample string 7</Text> <Start>2022-05-11T23:50:43.722876+00:00</Start> <End>2022-05-11T23:50:43.722876+00:00</End> <AnswerType>None</AnswerType> <PublisherId>091f5867-9487-4a47-a4d3-a6d8bd025c57</PublisherId> <DeliveryCountryCode>sample string 10</DeliveryCountryCode> <Explanation>sample string 11</Explanation> <Url>sample string 12</Url> <Image>QEA=</Image> <ImageUrl>sample string 13</ImageUrl> </PostContention>
application/x-www-form-urlencoded
Sample:
Sample not available.
Response Information
Resource Description
IContentionName | Description | Type | Additional information |
---|---|---|---|
CampaignId | globally unique identifier |
None. |
|
CampaignGroupId | globally unique identifier |
None. |
|
BarcodeId | globally unique identifier |
None. |
|
CreatorUserId | string |
None. |
|
Name | string |
None. |
|
Version | integer |
None. |
|
Remarks | string |
None. |
|
Enabled | boolean |
None. |
|
Start | date |
None. |
|
Created | date |
None. |
|
LastModified | date |
None. |
|
PublisherId | globally unique identifier |
None. |
|
DeliveryCountryCode | string |
None. |
Response Formats
application/json, text/json
Sample:
Sample not available.