POST api/com/UpdateInventory

Request Information

URI Parameters

None.

Body Parameters

UpdateInventoryInfo
NameDescriptionTypeAdditional information
ServiceOrder

integer

None.

AccountNumber

string

None.

AccountSub

string

None.

FileType

string

None.

NPA

string

None.

NXX

string

None.

Line

string

None.

GLInfo

GLInfo

None.

CompanyCode

string

None.

InventoryServiceOrders

Collection of integer

None.

Request Formats

application/json, text/json

Sample:
{
  "ServiceOrder": 1,
  "AccountNumber": "sample string 2",
  "AccountSub": "sample string 3",
  "FileType": "sample string 4",
  "NPA": "sample string 5",
  "NXX": "sample string 6",
  "Line": "sample string 7",
  "GLInfo": {
    "ReportDateInt": 1,
    "GLCompanyCode": "sample string 2",
    "Year": "sample string 3",
    "Period": "sample string 4",
    "WorkStation": "sample string 5"
  },
  "CompanyCode": "sample string 8",
  "InventoryServiceOrders": [
    1,
    2
  ]
}

application/xml, text/xml

Sample:
<UpdateInventoryInfo xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/T34NetComAPI">
  <AccountNumber>sample string 2</AccountNumber>
  <AccountSub>sample string 3</AccountSub>
  <CompanyCode>sample string 8</CompanyCode>
  <FileType>sample string 4</FileType>
  <GLInfo>
    <GLCompanyCode>sample string 2</GLCompanyCode>
    <Period>sample string 4</Period>
    <ReportDateInt>1</ReportDateInt>
    <WorkStation>sample string 5</WorkStation>
    <Year>sample string 3</Year>
  </GLInfo>
  <InventoryServiceOrders xmlns:d2p1="http://schemas.microsoft.com/2003/10/Serialization/Arrays">
    <d2p1:int>1</d2p1:int>
    <d2p1:int>2</d2p1:int>
  </InventoryServiceOrders>
  <Line>sample string 7</Line>
  <NPA>sample string 5</NPA>
  <NXX>sample string 6</NXX>
  <ServiceOrder>1</ServiceOrder>
</UpdateInventoryInfo>

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

Response Information

Resource Description

boolean

Response Formats

application/json, text/json

Sample:
true

application/xml, text/xml

Sample:
<boolean xmlns="http://schemas.microsoft.com/2003/10/Serialization/">true</boolean>