PUT api/ProductGallery/TransferPermission

Request Information

URI Parameters

None.

Body Parameters

TransferPermissionBinddingModel
NameDescriptionTypeAdditional information
ProductId

integer

Required

ProductDemandId

integer

Required

EmployeeIdOld

integer

Required

EmployeeIdNew

integer

Required

Description

string

Required

Request Formats

application/json, text/json

Sample:
{
  "productId": 1,
  "productDemandId": 2,
  "employeeIdOld": 3,
  "employeeIdNew": 4,
  "description": "sample string 5"
}

application/xml, text/xml

Sample:
<TransferPermissionBinddingModel xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/AgencyWebAPI.Models.Product">
  <Description>sample string 5</Description>
  <EmployeeIdNew>4</EmployeeIdNew>
  <EmployeeIdOld>3</EmployeeIdOld>
  <ProductDemandId>2</ProductDemandId>
  <ProductId>1</ProductId>
</TransferPermissionBinddingModel>

application/x-www-form-urlencoded

Sample:

Sample not available.

Response Information

Resource Description

TransferPermissionBinddingModel
NameDescriptionTypeAdditional information
ProductId

integer

Required

ProductDemandId

integer

Required

EmployeeIdOld

integer

Required

EmployeeIdNew

integer

Required

Description

string

Required

Response Formats

application/json, text/json

Sample:
{
  "productId": 1,
  "productDemandId": 2,
  "employeeIdOld": 3,
  "employeeIdNew": 4,
  "description": "sample string 5"
}

application/xml, text/xml

Sample:
<TransferPermissionBinddingModel xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/AgencyWebAPI.Models.Product">
  <Description>sample string 5</Description>
  <EmployeeIdNew>4</EmployeeIdNew>
  <EmployeeIdOld>3</EmployeeIdOld>
  <ProductDemandId>2</ProductDemandId>
  <ProductId>1</ProductId>
</TransferPermissionBinddingModel>