POST api/memberPricing/departmentAllocations

Request Information

URI Parameters

None.

Body Parameters

Collection of MemberPricingDepartmentAllocation
NameDescriptionTypeAdditional information
ID

integer

None.

DeptCode

string

None.

SubDeptCode

string

None.

Percent

decimal number

None.

Request Formats

application/json, text/json

Sample:
[
  {
    "$id": "1",
    "id": 1,
    "deptCode": "sample string 2",
    "subDeptCode": "sample string 3",
    "percent": 4.1
  },
  {
    "$ref": "1"
  }
]

application/xml, text/xml

Sample:
<ArrayOfMemberPricingDepartmentAllocation xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/EziManager.Models.EMC.Hosts">
  <MemberPricingDepartmentAllocation>
    <DeptCode>sample string 2</DeptCode>
    <ID>1</ID>
    <Percent>4.1</Percent>
    <SubDeptCode>sample string 3</SubDeptCode>
  </MemberPricingDepartmentAllocation>
  <MemberPricingDepartmentAllocation>
    <DeptCode>sample string 2</DeptCode>
    <ID>1</ID>
    <Percent>4.1</Percent>
    <SubDeptCode>sample string 3</SubDeptCode>
  </MemberPricingDepartmentAllocation>
</ArrayOfMemberPricingDepartmentAllocation>

application/x-www-form-urlencoded

Sample:

Sample not available.

Response Information

Resource Description

None.