PUT api/v1/customer/{customerId}/{productId}/{versionId}
Request Information
URI Parameters
Name | Description | Type | Additional information |
---|---|---|---|
customerId | integer |
Required |
|
productId | integer |
Required |
|
versionId | integer |
Required |
Body Parameters
CustomerProductEntitiesModelName | Description | Type | Additional information |
---|---|---|---|
CustomerId | integer |
Required |
|
ProductId | integer |
Required |
|
VersionId | integer |
Required |
|
Entities | Collection of EntityValueModel |
None. |
Request Formats
application/json, text/json
Sample:
{ "CustomerId": 1, "ProductId": 2, "VersionId": 3, "Entities": [ { "Id": 1, "Value": 2 }, { "Id": 1, "Value": 2 } ] }
application/xml, text/xml
Sample:
<CustomerProductEntitiesModel xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/Bullet.WebAPI.Models.DTO"> <CustomerId>1</CustomerId> <Entities> <EntityValueModel> <Id>1</Id> <Value>2</Value> </EntityValueModel> <EntityValueModel> <Id>1</Id> <Value>2</Value> </EntityValueModel> </Entities> <ProductId>2</ProductId> <VersionId>3</VersionId> </CustomerProductEntitiesModel>
application/x-www-form-urlencoded
Sample:
Sample not available.
Response Information
Resource Description
IHttpActionResultNone.
Response Formats
application/json, text/json, application/xml, text/xml
Sample:
Sample not available.