PUT api/docAssignment/reassignGroup

Request Information

URI Parameters

None.

Body Parameters

docReassignGroup
NameDescriptionTypeAdditional information
DocumentID

integer

None.

Persons

Collection of docReassignCandidate

None.

SoftDueDate

date

None.

HardDueDate

date

None.

Request Formats

application/json, text/json

Sample:
{
  "DocumentID": 1,
  "Persons": [
    {
      "PersonID": 1,
      "PersonName": "sample string 2",
      "DepartmentName": "sample string 3",
      "WarehouseName": "sample string 4",
      "LanguageCode": "sample string 5",
      "Function": "sample string 6",
      "LastUsed": "2025-12-06T23:37:06.8401346+00:00",
      "DaysSinceLastUse": 1,
      "LastAssignment": "2025-12-06T23:37:06.8401346+00:00",
      "AssignmentStatus": "sample string 8"
    },
    {
      "PersonID": 1,
      "PersonName": "sample string 2",
      "DepartmentName": "sample string 3",
      "WarehouseName": "sample string 4",
      "LanguageCode": "sample string 5",
      "Function": "sample string 6",
      "LastUsed": "2025-12-06T23:37:06.8401346+00:00",
      "DaysSinceLastUse": 1,
      "LastAssignment": "2025-12-06T23:37:06.8401346+00:00",
      "AssignmentStatus": "sample string 8"
    }
  ],
  "SoftDueDate": "2025-12-06T23:37:06.8401346+00:00",
  "HardDueDate": "2025-12-06T23:37:06.8401346+00:00"
}

application/xml, text/xml

Sample:
<docReassignGroup xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/WebAPI.Data.Tables">
  <DocumentID>1</DocumentID>
  <HardDueDate>2025-12-06T23:37:06.8401346+00:00</HardDueDate>
  <Persons>
    <docReassignCandidate>
      <AssignmentStatus>sample string 8</AssignmentStatus>
      <DaysSinceLastUse>1</DaysSinceLastUse>
      <DepartmentName>sample string 3</DepartmentName>
      <Function>sample string 6</Function>
      <LanguageCode>sample string 5</LanguageCode>
      <LastAssignment>2025-12-06T23:37:06.8401346+00:00</LastAssignment>
      <LastUsed>2025-12-06T23:37:06.8401346+00:00</LastUsed>
      <PersonID>1</PersonID>
      <PersonName>sample string 2</PersonName>
      <WarehouseName>sample string 4</WarehouseName>
    </docReassignCandidate>
    <docReassignCandidate>
      <AssignmentStatus>sample string 8</AssignmentStatus>
      <DaysSinceLastUse>1</DaysSinceLastUse>
      <DepartmentName>sample string 3</DepartmentName>
      <Function>sample string 6</Function>
      <LanguageCode>sample string 5</LanguageCode>
      <LastAssignment>2025-12-06T23:37:06.8401346+00:00</LastAssignment>
      <LastUsed>2025-12-06T23:37:06.8401346+00:00</LastUsed>
      <PersonID>1</PersonID>
      <PersonName>sample string 2</PersonName>
      <WarehouseName>sample string 4</WarehouseName>
    </docReassignCandidate>
  </Persons>
  <SoftDueDate>2025-12-06T23:37:06.8401346+00:00</SoftDueDate>
</docReassignGroup>

application/x-www-form-urlencoded

Sample:

Failed to generate the sample for media type 'application/x-www-form-urlencoded'. Cannot use formatter 'JQueryMvcFormUrlEncodedFormatter' to write type 'docReassignGroup'.

Response Information

Resource Description

IHttpActionResult

None.

Response Formats

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

Sample:

Sample not available.