POST LicenseManagement/UpdateRequestRights
Request Information
URI Parameters
None.
Body Parameters
UpdateRightsModel| Name | Description | Type | Additional information |
|---|---|---|---|
| SelectedRights | Collection of RightCombinationDto |
None. |
|
| RequestId | globally unique identifier |
None. |
Request Formats
application/json, text/json
Sample:
{
"SelectedRights": [
{
"Id": 1,
"ParentId": 2,
"ProgramRightId": 1,
"DistributionChannel": 0,
"ChangedBy": 0,
"IsChecked": true,
"EntityData": {
"EntityId": "91a9ddc3-a62b-49c3-8837-c607b464f935",
"SubcategoryId": 2,
"CategoryId": 3
},
"Retailers": [
{
"Id": 1,
"RetailerName": "sample string 2",
"RetailerCode": "sample string 3",
"RetailTypeId": 4,
"DistributionChannel": 0,
"RetailerSubTypeId": 1,
"RetailTypeDescription": "sample string 5",
"RetailerSubType": {
"Id": 1,
"Code": "sample string 2",
"Description": "sample string 3",
"RetailerTypeId": 4,
"DistributionChannel": 5
}
},
{
"Id": 1,
"RetailerName": "sample string 2",
"RetailerCode": "sample string 3",
"RetailTypeId": 4,
"DistributionChannel": 0,
"RetailerSubTypeId": 1,
"RetailTypeDescription": "sample string 5",
"RetailerSubType": {
"Id": 1,
"Code": "sample string 2",
"Description": "sample string 3",
"RetailerTypeId": 4,
"DistributionChannel": 5
}
}
]
},
{
"Id": 1,
"ParentId": 2,
"ProgramRightId": 1,
"DistributionChannel": 0,
"ChangedBy": 0,
"IsChecked": true,
"EntityData": {
"EntityId": "91a9ddc3-a62b-49c3-8837-c607b464f935",
"SubcategoryId": 2,
"CategoryId": 3
},
"Retailers": [
{
"Id": 1,
"RetailerName": "sample string 2",
"RetailerCode": "sample string 3",
"RetailTypeId": 4,
"DistributionChannel": 0,
"RetailerSubTypeId": 1,
"RetailTypeDescription": "sample string 5",
"RetailerSubType": {
"Id": 1,
"Code": "sample string 2",
"Description": "sample string 3",
"RetailerTypeId": 4,
"DistributionChannel": 5
}
},
{
"Id": 1,
"RetailerName": "sample string 2",
"RetailerCode": "sample string 3",
"RetailTypeId": 4,
"DistributionChannel": 0,
"RetailerSubTypeId": 1,
"RetailTypeDescription": "sample string 5",
"RetailerSubType": {
"Id": 1,
"Code": "sample string 2",
"Description": "sample string 3",
"RetailerTypeId": 4,
"DistributionChannel": 5
}
}
]
}
],
"RequestId": "e7f2009d-5d7b-4870-8ae7-2e5cfb1db21f"
}
application/xml, text/xml
Sample:
<UpdateRightsModel xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/Img.MyiCLC.Mobile.Api.Models.DataObjects.LicenseManagement">
<RequestId>e7f2009d-5d7b-4870-8ae7-2e5cfb1db21f</RequestId>
<SelectedRights xmlns:d2p1="http://schemas.datacontract.org/2004/07/Img.MyiCLC.Core.Interfaces.Dto.Common">
<d2p1:RightCombinationDto>
<d2p1:ChangedBy>NotSet</d2p1:ChangedBy>
<d2p1:DistributionChannel>NotSet</d2p1:DistributionChannel>
<d2p1:EntityData>
<d2p1:CategoryId>3</d2p1:CategoryId>
<d2p1:EntityId>91a9ddc3-a62b-49c3-8837-c607b464f935</d2p1:EntityId>
<d2p1:SubcategoryId>2</d2p1:SubcategoryId>
</d2p1:EntityData>
<d2p1:Id>1</d2p1:Id>
<d2p1:IsChecked>true</d2p1:IsChecked>
<d2p1:ParentId>2</d2p1:ParentId>
<d2p1:ProgramRightId>1</d2p1:ProgramRightId>
<d2p1:Retailers>
<d2p1:RetailerDto>
<d2p1:DistributionChannel>NotSet</d2p1:DistributionChannel>
<d2p1:Id>1</d2p1:Id>
<d2p1:RetailTypeDescription>sample string 5</d2p1:RetailTypeDescription>
<d2p1:RetailTypeId>4</d2p1:RetailTypeId>
<d2p1:RetailerCode>sample string 3</d2p1:RetailerCode>
<d2p1:RetailerName>sample string 2</d2p1:RetailerName>
<d2p1:RetailerSubType>
<d2p1:Code>sample string 2</d2p1:Code>
<d2p1:Description>sample string 3</d2p1:Description>
<d2p1:DistributionChannel>5</d2p1:DistributionChannel>
<d2p1:Id>1</d2p1:Id>
<d2p1:RetailerTypeId>4</d2p1:RetailerTypeId>
</d2p1:RetailerSubType>
<d2p1:RetailerSubTypeId>1</d2p1:RetailerSubTypeId>
</d2p1:RetailerDto>
<d2p1:RetailerDto>
<d2p1:DistributionChannel>NotSet</d2p1:DistributionChannel>
<d2p1:Id>1</d2p1:Id>
<d2p1:RetailTypeDescription>sample string 5</d2p1:RetailTypeDescription>
<d2p1:RetailTypeId>4</d2p1:RetailTypeId>
<d2p1:RetailerCode>sample string 3</d2p1:RetailerCode>
<d2p1:RetailerName>sample string 2</d2p1:RetailerName>
<d2p1:RetailerSubType>
<d2p1:Code>sample string 2</d2p1:Code>
<d2p1:Description>sample string 3</d2p1:Description>
<d2p1:DistributionChannel>5</d2p1:DistributionChannel>
<d2p1:Id>1</d2p1:Id>
<d2p1:RetailerTypeId>4</d2p1:RetailerTypeId>
</d2p1:RetailerSubType>
<d2p1:RetailerSubTypeId>1</d2p1:RetailerSubTypeId>
</d2p1:RetailerDto>
</d2p1:Retailers>
</d2p1:RightCombinationDto>
<d2p1:RightCombinationDto>
<d2p1:ChangedBy>NotSet</d2p1:ChangedBy>
<d2p1:DistributionChannel>NotSet</d2p1:DistributionChannel>
<d2p1:EntityData>
<d2p1:CategoryId>3</d2p1:CategoryId>
<d2p1:EntityId>91a9ddc3-a62b-49c3-8837-c607b464f935</d2p1:EntityId>
<d2p1:SubcategoryId>2</d2p1:SubcategoryId>
</d2p1:EntityData>
<d2p1:Id>1</d2p1:Id>
<d2p1:IsChecked>true</d2p1:IsChecked>
<d2p1:ParentId>2</d2p1:ParentId>
<d2p1:ProgramRightId>1</d2p1:ProgramRightId>
<d2p1:Retailers>
<d2p1:RetailerDto>
<d2p1:DistributionChannel>NotSet</d2p1:DistributionChannel>
<d2p1:Id>1</d2p1:Id>
<d2p1:RetailTypeDescription>sample string 5</d2p1:RetailTypeDescription>
<d2p1:RetailTypeId>4</d2p1:RetailTypeId>
<d2p1:RetailerCode>sample string 3</d2p1:RetailerCode>
<d2p1:RetailerName>sample string 2</d2p1:RetailerName>
<d2p1:RetailerSubType>
<d2p1:Code>sample string 2</d2p1:Code>
<d2p1:Description>sample string 3</d2p1:Description>
<d2p1:DistributionChannel>5</d2p1:DistributionChannel>
<d2p1:Id>1</d2p1:Id>
<d2p1:RetailerTypeId>4</d2p1:RetailerTypeId>
</d2p1:RetailerSubType>
<d2p1:RetailerSubTypeId>1</d2p1:RetailerSubTypeId>
</d2p1:RetailerDto>
<d2p1:RetailerDto>
<d2p1:DistributionChannel>NotSet</d2p1:DistributionChannel>
<d2p1:Id>1</d2p1:Id>
<d2p1:RetailTypeDescription>sample string 5</d2p1:RetailTypeDescription>
<d2p1:RetailTypeId>4</d2p1:RetailTypeId>
<d2p1:RetailerCode>sample string 3</d2p1:RetailerCode>
<d2p1:RetailerName>sample string 2</d2p1:RetailerName>
<d2p1:RetailerSubType>
<d2p1:Code>sample string 2</d2p1:Code>
<d2p1:Description>sample string 3</d2p1:Description>
<d2p1:DistributionChannel>5</d2p1:DistributionChannel>
<d2p1:Id>1</d2p1:Id>
<d2p1:RetailerTypeId>4</d2p1:RetailerTypeId>
</d2p1:RetailerSubType>
<d2p1:RetailerSubTypeId>1</d2p1:RetailerSubTypeId>
</d2p1:RetailerDto>
</d2p1:Retailers>
</d2p1:RightCombinationDto>
</SelectedRights>
</UpdateRightsModel>
application/x-www-form-urlencoded
Sample:
Response Information
Resource Description
None.