PUT InventoryReceived/PutInventoryReceived

Updates inventory received records

Request Information

URI Parameters

Body Parameters

InventoryReceived object used to update inventory received records

clsInventoryReceivedUpdate
NameDescriptionTypeAdditional Information
vendorID

ID assigned to the vendor

string

Required

Max length: 10

ticketNumber

Ticket number

string

Required

Max length: 15

receivedDate

Ticket date

string

Data type: DateTime

Format must be MM/dd/yyyy

comments

Ticket comments

string

Max length: 255

status

If "I" then it has been processed into purchase receipt

string

Max length: 1

ReceivedDetailUpdate

List of products associated with this ticket

Collection of clsReceivedDetailUpdate

List cannot be empty

Request Formats

application/json, text/json

Sample:
{
  "vendorID": "sample string 1",
  "ticketNumber": "sample string 2",
  "receivedDate": "sample string 3",
  "comments": "sample string 4",
  "status": "sample string 5",
  "ReceivedDetailUpdate": [
    {
      "UniqueKey": 3,
      "barCode": "sample string 4",
      "departmentID": "sample string 5",
      "productID": "sample string 6",
      "productName": "sample string 7",
      "quantity": 8.1,
      "unitOfMeasure": "sample string 9",
      "lotNumber": "sample string 10",
      "ednYN": true,
      "containerID": 12,
      "ContainerIdString": "sample string 13",
      "listPrice": 14.1,
      "replacementCost": 15.1,
      "totalDollars": 16.1,
      "deleteYN": true
    },
    {
      "UniqueKey": 3,
      "barCode": "sample string 4",
      "departmentID": "sample string 5",
      "productID": "sample string 6",
      "productName": "sample string 7",
      "quantity": 8.1,
      "unitOfMeasure": "sample string 9",
      "lotNumber": "sample string 10",
      "ednYN": true,
      "containerID": 12,
      "ContainerIdString": "sample string 13",
      "listPrice": 14.1,
      "replacementCost": 15.1,
      "totalDollars": 16.1,
      "deleteYN": true
    }
  ]
}

application/xml, text/xml

Sample:
<InventoryReceivedUpdate xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/SSI.Inv">
  <ReceivedDetailUpdate>
    <ReceivedDetailUpdate>
      <ContainerIdString>sample string 13</ContainerIdString>
      <UniqueKey>3</UniqueKey>
      <barCode>sample string 4</barCode>
      <containerID>12</containerID>
      <deleteYN>true</deleteYN>
      <departmentID>sample string 5</departmentID>
      <ednYN>true</ednYN>
      <listPrice>14.1</listPrice>
      <lotNumber>sample string 10</lotNumber>
      <productID>sample string 6</productID>
      <productName>sample string 7</productName>
      <quantity>8.1</quantity>
      <replacementCost>15.1</replacementCost>
      <totalDollars>16.1</totalDollars>
      <unitOfMeasure>sample string 9</unitOfMeasure>
    </ReceivedDetailUpdate>
    <ReceivedDetailUpdate>
      <ContainerIdString>sample string 13</ContainerIdString>
      <UniqueKey>3</UniqueKey>
      <barCode>sample string 4</barCode>
      <containerID>12</containerID>
      <deleteYN>true</deleteYN>
      <departmentID>sample string 5</departmentID>
      <ednYN>true</ednYN>
      <listPrice>14.1</listPrice>
      <lotNumber>sample string 10</lotNumber>
      <productID>sample string 6</productID>
      <productName>sample string 7</productName>
      <quantity>8.1</quantity>
      <replacementCost>15.1</replacementCost>
      <totalDollars>16.1</totalDollars>
      <unitOfMeasure>sample string 9</unitOfMeasure>
    </ReceivedDetailUpdate>
  </ReceivedDetailUpdate>
  <comments>sample string 4</comments>
  <receivedDate>sample string 3</receivedDate>
  <status>sample string 5</status>
  <ticketNumber>sample string 2</ticketNumber>
  <vendorID>sample string 1</vendorID>
</InventoryReceivedUpdate>

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 'clsInventoryReceivedUpdate'.

Response Information

Resource Description

Updates inventory received records

AgvInventoryReceived
NameDescriptionTypeAdditional Information
Status

0 - Success; 1 - An error occurred; 2 - An error occurred; 3 - Descriptive message, process was successful

string
Message

Informational message that corresponds to the Status returned; 0 - Message will be "OK"; 1 - Detailed message returned to give user an indication of what went wrong; 2 - Less detailed message returned that may not mean anything to the user but that the application might use to take a corrective action; 3 - Not an error but something the user might need to know

string
Count

Number of results returned

string
InventoryReceivedRecords

List of properties and values returned for each record that matches the request

Collection of clsInventoryReceived

Response Formats

application/json, text/json

Sample:
{
  "Status": "sample string 1",
  "Message": "sample string 2",
  "Count": "2",
  "InventoryReceivedRecords": [
    {
      "vendorID": "sample string 1",
      "vendorName": "sample string 2",
      "ticketNumber": "sample string 3",
      "receivedDate": "sample string 4",
      "comments": "sample string 5",
      "status": "sample string 6",
      "ReceivedDetail": [
        {
          "UniqueKey": 3,
          "lineItem": 4,
          "barCode": "sample string 5",
          "departmentID": "sample string 6",
          "productID": "sample string 7",
          "productName": "sample string 8",
          "quantity": 9.1,
          "unitOfMeasure": "sample string 10",
          "lotNumber": "sample string 11",
          "ednYN": true,
          "containerKey": 13,
          "containerID": 14,
          "ContainerIdString": "sample string 15",
          "listPrice": 16.1,
          "replacementCost": 17.1,
          "totalDollars": 18.1,
          "userID": "sample string 19",
          "userFirstName": "sample string 20",
          "userLastName": "sample string 21",
          "dateStamp": "sample string 22",
          "timeStamp": "sample string 23",
          "deleteYN": true
        },
        {
          "UniqueKey": 3,
          "lineItem": 4,
          "barCode": "sample string 5",
          "departmentID": "sample string 6",
          "productID": "sample string 7",
          "productName": "sample string 8",
          "quantity": 9.1,
          "unitOfMeasure": "sample string 10",
          "lotNumber": "sample string 11",
          "ednYN": true,
          "containerKey": 13,
          "containerID": 14,
          "ContainerIdString": "sample string 15",
          "listPrice": 16.1,
          "replacementCost": 17.1,
          "totalDollars": 18.1,
          "userID": "sample string 19",
          "userFirstName": "sample string 20",
          "userLastName": "sample string 21",
          "dateStamp": "sample string 22",
          "timeStamp": "sample string 23",
          "deleteYN": true
        }
      ]
    },
    {
      "vendorID": "sample string 1",
      "vendorName": "sample string 2",
      "ticketNumber": "sample string 3",
      "receivedDate": "sample string 4",
      "comments": "sample string 5",
      "status": "sample string 6",
      "ReceivedDetail": [
        {
          "UniqueKey": 3,
          "lineItem": 4,
          "barCode": "sample string 5",
          "departmentID": "sample string 6",
          "productID": "sample string 7",
          "productName": "sample string 8",
          "quantity": 9.1,
          "unitOfMeasure": "sample string 10",
          "lotNumber": "sample string 11",
          "ednYN": true,
          "containerKey": 13,
          "containerID": 14,
          "ContainerIdString": "sample string 15",
          "listPrice": 16.1,
          "replacementCost": 17.1,
          "totalDollars": 18.1,
          "userID": "sample string 19",
          "userFirstName": "sample string 20",
          "userLastName": "sample string 21",
          "dateStamp": "sample string 22",
          "timeStamp": "sample string 23",
          "deleteYN": true
        },
        {
          "UniqueKey": 3,
          "lineItem": 4,
          "barCode": "sample string 5",
          "departmentID": "sample string 6",
          "productID": "sample string 7",
          "productName": "sample string 8",
          "quantity": 9.1,
          "unitOfMeasure": "sample string 10",
          "lotNumber": "sample string 11",
          "ednYN": true,
          "containerKey": 13,
          "containerID": 14,
          "ContainerIdString": "sample string 15",
          "listPrice": 16.1,
          "replacementCost": 17.1,
          "totalDollars": 18.1,
          "userID": "sample string 19",
          "userFirstName": "sample string 20",
          "userLastName": "sample string 21",
          "dateStamp": "sample string 22",
          "timeStamp": "sample string 23",
          "deleteYN": true
        }
      ]
    }
  ]
}

application/xml, text/xml

Sample:
<AgvInventoryReceived xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/AgvWebAPICSharp.Models.Inventory.InventoryReceived">
  <InventoryReceivedRecords xmlns:d2p1="http://schemas.datacontract.org/2004/07/SSI.Inv">
    <d2p1:InventoryReceived>
      <d2p1:ReceivedDetail>
        <d2p1:ReceivedDetail>
          <d2p1:ContainerIdString>sample string 15</d2p1:ContainerIdString>
          <d2p1:UniqueKey>3</d2p1:UniqueKey>
          <d2p1:barCode>sample string 5</d2p1:barCode>
          <d2p1:containerID>14</d2p1:containerID>
          <d2p1:containerKey>13</d2p1:containerKey>
          <d2p1:dateStamp>sample string 22</d2p1:dateStamp>
          <d2p1:deleteYN>true</d2p1:deleteYN>
          <d2p1:departmentID>sample string 6</d2p1:departmentID>
          <d2p1:ednYN>true</d2p1:ednYN>
          <d2p1:lineItem>4</d2p1:lineItem>
          <d2p1:listPrice>16.1</d2p1:listPrice>
          <d2p1:lotNumber>sample string 11</d2p1:lotNumber>
          <d2p1:productID>sample string 7</d2p1:productID>
          <d2p1:productName>sample string 8</d2p1:productName>
          <d2p1:quantity>9.1</d2p1:quantity>
          <d2p1:replacementCost>17.1</d2p1:replacementCost>
          <d2p1:timeStamp>sample string 23</d2p1:timeStamp>
          <d2p1:totalDollars>18.1</d2p1:totalDollars>
          <d2p1:unitOfMeasure>sample string 10</d2p1:unitOfMeasure>
          <d2p1:userFirstName>sample string 20</d2p1:userFirstName>
          <d2p1:userID>sample string 19</d2p1:userID>
          <d2p1:userLastName>sample string 21</d2p1:userLastName>
        </d2p1:ReceivedDetail>
        <d2p1:ReceivedDetail>
          <d2p1:ContainerIdString>sample string 15</d2p1:ContainerIdString>
          <d2p1:UniqueKey>3</d2p1:UniqueKey>
          <d2p1:barCode>sample string 5</d2p1:barCode>
          <d2p1:containerID>14</d2p1:containerID>
          <d2p1:containerKey>13</d2p1:containerKey>
          <d2p1:dateStamp>sample string 22</d2p1:dateStamp>
          <d2p1:deleteYN>true</d2p1:deleteYN>
          <d2p1:departmentID>sample string 6</d2p1:departmentID>
          <d2p1:ednYN>true</d2p1:ednYN>
          <d2p1:lineItem>4</d2p1:lineItem>
          <d2p1:listPrice>16.1</d2p1:listPrice>
          <d2p1:lotNumber>sample string 11</d2p1:lotNumber>
          <d2p1:productID>sample string 7</d2p1:productID>
          <d2p1:productName>sample string 8</d2p1:productName>
          <d2p1:quantity>9.1</d2p1:quantity>
          <d2p1:replacementCost>17.1</d2p1:replacementCost>
          <d2p1:timeStamp>sample string 23</d2p1:timeStamp>
          <d2p1:totalDollars>18.1</d2p1:totalDollars>
          <d2p1:unitOfMeasure>sample string 10</d2p1:unitOfMeasure>
          <d2p1:userFirstName>sample string 20</d2p1:userFirstName>
          <d2p1:userID>sample string 19</d2p1:userID>
          <d2p1:userLastName>sample string 21</d2p1:userLastName>
        </d2p1:ReceivedDetail>
      </d2p1:ReceivedDetail>
      <d2p1:comments>sample string 5</d2p1:comments>
      <d2p1:receivedDate>sample string 4</d2p1:receivedDate>
      <d2p1:status>sample string 6</d2p1:status>
      <d2p1:ticketNumber>sample string 3</d2p1:ticketNumber>
      <d2p1:vendorID>sample string 1</d2p1:vendorID>
      <d2p1:vendorName>sample string 2</d2p1:vendorName>
    </d2p1:InventoryReceived>
    <d2p1:InventoryReceived>
      <d2p1:ReceivedDetail>
        <d2p1:ReceivedDetail>
          <d2p1:ContainerIdString>sample string 15</d2p1:ContainerIdString>
          <d2p1:UniqueKey>3</d2p1:UniqueKey>
          <d2p1:barCode>sample string 5</d2p1:barCode>
          <d2p1:containerID>14</d2p1:containerID>
          <d2p1:containerKey>13</d2p1:containerKey>
          <d2p1:dateStamp>sample string 22</d2p1:dateStamp>
          <d2p1:deleteYN>true</d2p1:deleteYN>
          <d2p1:departmentID>sample string 6</d2p1:departmentID>
          <d2p1:ednYN>true</d2p1:ednYN>
          <d2p1:lineItem>4</d2p1:lineItem>
          <d2p1:listPrice>16.1</d2p1:listPrice>
          <d2p1:lotNumber>sample string 11</d2p1:lotNumber>
          <d2p1:productID>sample string 7</d2p1:productID>
          <d2p1:productName>sample string 8</d2p1:productName>
          <d2p1:quantity>9.1</d2p1:quantity>
          <d2p1:replacementCost>17.1</d2p1:replacementCost>
          <d2p1:timeStamp>sample string 23</d2p1:timeStamp>
          <d2p1:totalDollars>18.1</d2p1:totalDollars>
          <d2p1:unitOfMeasure>sample string 10</d2p1:unitOfMeasure>
          <d2p1:userFirstName>sample string 20</d2p1:userFirstName>
          <d2p1:userID>sample string 19</d2p1:userID>
          <d2p1:userLastName>sample string 21</d2p1:userLastName>
        </d2p1:ReceivedDetail>
        <d2p1:ReceivedDetail>
          <d2p1:ContainerIdString>sample string 15</d2p1:ContainerIdString>
          <d2p1:UniqueKey>3</d2p1:UniqueKey>
          <d2p1:barCode>sample string 5</d2p1:barCode>
          <d2p1:containerID>14</d2p1:containerID>
          <d2p1:containerKey>13</d2p1:containerKey>
          <d2p1:dateStamp>sample string 22</d2p1:dateStamp>
          <d2p1:deleteYN>true</d2p1:deleteYN>
          <d2p1:departmentID>sample string 6</d2p1:departmentID>
          <d2p1:ednYN>true</d2p1:ednYN>
          <d2p1:lineItem>4</d2p1:lineItem>
          <d2p1:listPrice>16.1</d2p1:listPrice>
          <d2p1:lotNumber>sample string 11</d2p1:lotNumber>
          <d2p1:productID>sample string 7</d2p1:productID>
          <d2p1:productName>sample string 8</d2p1:productName>
          <d2p1:quantity>9.1</d2p1:quantity>
          <d2p1:replacementCost>17.1</d2p1:replacementCost>
          <d2p1:timeStamp>sample string 23</d2p1:timeStamp>
          <d2p1:totalDollars>18.1</d2p1:totalDollars>
          <d2p1:unitOfMeasure>sample string 10</d2p1:unitOfMeasure>
          <d2p1:userFirstName>sample string 20</d2p1:userFirstName>
          <d2p1:userID>sample string 19</d2p1:userID>
          <d2p1:userLastName>sample string 21</d2p1:userLastName>
        </d2p1:ReceivedDetail>
      </d2p1:ReceivedDetail>
      <d2p1:comments>sample string 5</d2p1:comments>
      <d2p1:receivedDate>sample string 4</d2p1:receivedDate>
      <d2p1:status>sample string 6</d2p1:status>
      <d2p1:ticketNumber>sample string 3</d2p1:ticketNumber>
      <d2p1:vendorID>sample string 1</d2p1:vendorID>
      <d2p1:vendorName>sample string 2</d2p1:vendorName>
    </d2p1:InventoryReceived>
  </InventoryReceivedRecords>
  <Message>sample string 2</Message>
  <Status>sample string 1</Status>
</AgvInventoryReceived>