POST api/v2/Account/EditUserCompanyDepartment

Request Information

URI Parameters

None.

Body Parameters

Collection of UserCompanyDepartmentModels
NameDescriptionTypeAdditional information
intUserCompanyDepartmentID

integer

None.

UserId

string

None.

intCompDepID

integer

None.

IsActive

integer

None.

Request Formats

application/json, text/json

Sample:
[
  {
    "intUserCompanyDepartmentID": 1,
    "UserId": "sample string 2",
    "intCompDepID": 3,
    "IsActive": 4
  },
  {
    "intUserCompanyDepartmentID": 1,
    "UserId": "sample string 2",
    "intCompDepID": 3,
    "IsActive": 4
  }
]

application/xml, text/xml

Sample:
<ArrayOfUserCompanyDepartmentModels xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/XS2.WMSWebApiV2.Models">
  <UserCompanyDepartmentModels>
    <IsActive>4</IsActive>
    <UserId>sample string 2</UserId>
    <intCompDepID>3</intCompDepID>
    <intUserCompanyDepartmentID>1</intUserCompanyDepartmentID>
  </UserCompanyDepartmentModels>
  <UserCompanyDepartmentModels>
    <IsActive>4</IsActive>
    <UserId>sample string 2</UserId>
    <intCompDepID>3</intCompDepID>
    <intUserCompanyDepartmentID>1</intUserCompanyDepartmentID>
  </UserCompanyDepartmentModels>
</ArrayOfUserCompanyDepartmentModels>

application/x-www-form-urlencoded

Sample:

Sample not available.

Response Information

Resource Description

IHttpActionResult

None.

Response Formats

application/json, text/json, application/xml, text/xml

Sample:

Sample not available.