POST api/Quality/Code

Request Information

URI Parameters

None.

Body Parameters

QualitySearchParm
NameDescriptionTypeAdditional information
auth

string

None.

ShipmentGUID

string

None.

ShowDeleted

boolean

None.

Request Formats

application/json, text/json

Sample:
{
  "auth": "sample string 1",
  "ShipmentGUID": "sample string 2",
  "ShowDeleted": true
}

application/xml, text/xml

Sample:
<QualitySearchParm xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/ParcelLogic.WebApi.Transportation.Models">
  <ShipmentGUID>sample string 2</ShipmentGUID>
  <ShowDeleted>true</ShowDeleted>
  <auth>sample string 1</auth>
</QualitySearchParm>

application/x-www-form-urlencoded

Sample:

Sample not available.

Response Information

Resource Description

QualitySearchResp
NameDescriptionTypeAdditional information
IsSuccessful

boolean

None.

ErrorMessage

string

None.

QualityCodes

Collection of QualityCodeItem

None.

Response Formats

application/json, text/json

Sample:
{
  "IsSuccessful": true,
  "ErrorMessage": "sample string 2",
  "QualityCodes": [
    {
      "QualityControlID": 1,
      "CompanyID": 2,
      "Name": "sample string 3",
      "Description": "sample string 4",
      "IsControllable": true,
      "IsControllableDisplay": "sample string 6",
      "ResponsibleParty": "sample string 7",
      "Code": "sample string 8",
      "InsertUserID": 9,
      "InsertDateTIme": "2024-12-28T09:34:24.9243491+00:00",
      "DeletedUserID": 1,
      "DeletedDateTime": "2024-12-28T09:34:24.9243491+00:00",
      "StatusIcon": "sample string 11",
      "EDICode": "sample string 12"
    },
    {
      "QualityControlID": 1,
      "CompanyID": 2,
      "Name": "sample string 3",
      "Description": "sample string 4",
      "IsControllable": true,
      "IsControllableDisplay": "sample string 6",
      "ResponsibleParty": "sample string 7",
      "Code": "sample string 8",
      "InsertUserID": 9,
      "InsertDateTIme": "2024-12-28T09:34:24.9243491+00:00",
      "DeletedUserID": 1,
      "DeletedDateTime": "2024-12-28T09:34:24.9243491+00:00",
      "StatusIcon": "sample string 11",
      "EDICode": "sample string 12"
    }
  ]
}

application/xml, text/xml

Sample:
<QualitySearchResp xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/ParcelLogic.WebApi.Transportation.Models">
  <ErrorMessage>sample string 2</ErrorMessage>
  <IsSuccessful>true</IsSuccessful>
  <QualityCodes>
    <QualityCodeItem>
      <Code>sample string 8</Code>
      <CompanyID>2</CompanyID>
      <DeletedDateTime>2024-12-28T09:34:24.9243491+00:00</DeletedDateTime>
      <DeletedUserID>1</DeletedUserID>
      <Description>sample string 4</Description>
      <EDICode>sample string 12</EDICode>
      <InsertDateTIme>2024-12-28T09:34:24.9243491+00:00</InsertDateTIme>
      <InsertUserID>9</InsertUserID>
      <IsControllable>true</IsControllable>
      <IsControllableDisplay>sample string 6</IsControllableDisplay>
      <Name>sample string 3</Name>
      <QualityControlID>1</QualityControlID>
      <ResponsibleParty>sample string 7</ResponsibleParty>
      <StatusIcon>sample string 11</StatusIcon>
    </QualityCodeItem>
    <QualityCodeItem>
      <Code>sample string 8</Code>
      <CompanyID>2</CompanyID>
      <DeletedDateTime>2024-12-28T09:34:24.9243491+00:00</DeletedDateTime>
      <DeletedUserID>1</DeletedUserID>
      <Description>sample string 4</Description>
      <EDICode>sample string 12</EDICode>
      <InsertDateTIme>2024-12-28T09:34:24.9243491+00:00</InsertDateTIme>
      <InsertUserID>9</InsertUserID>
      <IsControllable>true</IsControllable>
      <IsControllableDisplay>sample string 6</IsControllableDisplay>
      <Name>sample string 3</Name>
      <QualityControlID>1</QualityControlID>
      <ResponsibleParty>sample string 7</ResponsibleParty>
      <StatusIcon>sample string 11</StatusIcon>
    </QualityCodeItem>
  </QualityCodes>
</QualitySearchResp>