POST api/joborder/recalproductinfocustomer

Request Information

URI Parameters

None.

Body Parameters

RecalculateProductRequestDto
NameDescriptionTypeAdditional information
QuoteNo

integer

None.

Originator

string

None.

RowId

integer

None.

Status

string

None.

DataType

string

None.

CustCode

string

None.

ProdGroup

string

None.

Products

Collection of OrderDetailDto

None.

Request Formats

application/json, text/json

Sample:
{
  "QuoteNo": 1,
  "Originator": "sample string 2",
  "RowId": 3,
  "Status": "sample string 4",
  "DataType": "sample string 5",
  "CustCode": "sample string 6",
  "ProdGroup": "sample string 7",
  "Products": [
    {
      "Catalog_code": "sample string 1",
      "Catalog_desc": "sample string 2",
      "Description": "sample string 3",
      "Supplier_store": "sample string 4",
      "Order_qty": 5.1,
      "Uom": "sample string 6",
      "Status": "sample string 7",
      "Truck_type": "sample string 8",
      "Product_sell": 9.0,
      "Amount": 10.0,
      "RemainingQty": 11.1,
      "DeliveredQty": 12.1,
      "Rate": 13.1,
      "Distance_meters": 14.0,
      "Short_fee": 15.0,
      "Product_cost": "sample string 16",
      "Cartage_cost": "sample string 17",
      "Cartage_tot": 18.0,
      "Cartage_sell": 19.0,
      "Price": 20.1,
      "Product_tot": "sample string 21",
      "Product_profit": 22.0,
      "NoofTruck": 23,
      "RecSelected": true
    },
    {
      "Catalog_code": "sample string 1",
      "Catalog_desc": "sample string 2",
      "Description": "sample string 3",
      "Supplier_store": "sample string 4",
      "Order_qty": 5.1,
      "Uom": "sample string 6",
      "Status": "sample string 7",
      "Truck_type": "sample string 8",
      "Product_sell": 9.0,
      "Amount": 10.0,
      "RemainingQty": 11.1,
      "DeliveredQty": 12.1,
      "Rate": 13.1,
      "Distance_meters": 14.0,
      "Short_fee": 15.0,
      "Product_cost": "sample string 16",
      "Cartage_cost": "sample string 17",
      "Cartage_tot": 18.0,
      "Cartage_sell": 19.0,
      "Price": 20.1,
      "Product_tot": "sample string 21",
      "Product_profit": 22.0,
      "NoofTruck": 23,
      "RecSelected": true
    }
  ]
}

text/xml

Sample:
<RecalculateProductRequestDto xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/Peercore.Transport.AppService.DTOs.Requests">
  <CustCode>sample string 6</CustCode>
  <DataType>sample string 5</DataType>
  <Originator>sample string 2</Originator>
  <ProdGroup>sample string 7</ProdGroup>
  <Products xmlns:d2p1="http://schemas.datacontract.org/2004/07/Peercore.Transport.AppService.ViewModels.CustomerPortal">
    <d2p1:OrderDetailDto>
      <d2p1:Amount>10</d2p1:Amount>
      <d2p1:Cartage_cost>sample string 17</d2p1:Cartage_cost>
      <d2p1:Cartage_sell>19</d2p1:Cartage_sell>
      <d2p1:Cartage_tot>18</d2p1:Cartage_tot>
      <d2p1:Catalog_code>sample string 1</d2p1:Catalog_code>
      <d2p1:Catalog_desc>sample string 2</d2p1:Catalog_desc>
      <d2p1:DeliveredQty>12.1</d2p1:DeliveredQty>
      <d2p1:Description>sample string 3</d2p1:Description>
      <d2p1:Distance_meters>14</d2p1:Distance_meters>
      <d2p1:NoofTruck>23</d2p1:NoofTruck>
      <d2p1:Order_qty>5.1</d2p1:Order_qty>
      <d2p1:Price>20.1</d2p1:Price>
      <d2p1:Product_cost>sample string 16</d2p1:Product_cost>
      <d2p1:Product_profit>22</d2p1:Product_profit>
      <d2p1:Product_sell>9</d2p1:Product_sell>
      <d2p1:Product_tot>sample string 21</d2p1:Product_tot>
      <d2p1:Rate>13.1</d2p1:Rate>
      <d2p1:RecSelected>true</d2p1:RecSelected>
      <d2p1:RemainingQty>11.1</d2p1:RemainingQty>
      <d2p1:Short_fee>15</d2p1:Short_fee>
      <d2p1:Status>sample string 7</d2p1:Status>
      <d2p1:Supplier_store>sample string 4</d2p1:Supplier_store>
      <d2p1:Truck_type>sample string 8</d2p1:Truck_type>
      <d2p1:Uom>sample string 6</d2p1:Uom>
    </d2p1:OrderDetailDto>
    <d2p1:OrderDetailDto>
      <d2p1:Amount>10</d2p1:Amount>
      <d2p1:Cartage_cost>sample string 17</d2p1:Cartage_cost>
      <d2p1:Cartage_sell>19</d2p1:Cartage_sell>
      <d2p1:Cartage_tot>18</d2p1:Cartage_tot>
      <d2p1:Catalog_code>sample string 1</d2p1:Catalog_code>
      <d2p1:Catalog_desc>sample string 2</d2p1:Catalog_desc>
      <d2p1:DeliveredQty>12.1</d2p1:DeliveredQty>
      <d2p1:Description>sample string 3</d2p1:Description>
      <d2p1:Distance_meters>14</d2p1:Distance_meters>
      <d2p1:NoofTruck>23</d2p1:NoofTruck>
      <d2p1:Order_qty>5.1</d2p1:Order_qty>
      <d2p1:Price>20.1</d2p1:Price>
      <d2p1:Product_cost>sample string 16</d2p1:Product_cost>
      <d2p1:Product_profit>22</d2p1:Product_profit>
      <d2p1:Product_sell>9</d2p1:Product_sell>
      <d2p1:Product_tot>sample string 21</d2p1:Product_tot>
      <d2p1:Rate>13.1</d2p1:Rate>
      <d2p1:RecSelected>true</d2p1:RecSelected>
      <d2p1:RemainingQty>11.1</d2p1:RemainingQty>
      <d2p1:Short_fee>15</d2p1:Short_fee>
      <d2p1:Status>sample string 7</d2p1:Status>
      <d2p1:Supplier_store>sample string 4</d2p1:Supplier_store>
      <d2p1:Truck_type>sample string 8</d2p1:Truck_type>
      <d2p1:Uom>sample string 6</d2p1:Uom>
    </d2p1:OrderDetailDto>
  </Products>
  <QuoteNo>1</QuoteNo>
  <RowId>3</RowId>
  <Status>sample string 4</Status>
</RecalculateProductRequestDto>

application/x-www-form-urlencoded

Sample:

Sample not available.

Response Information

Resource Description

HttpResponseMessage
NameDescriptionTypeAdditional information
Version

Version

None.

Content

HttpContent

None.

StatusCode

HttpStatusCode

None.

ReasonPhrase

string

None.

Headers

Collection of Object

None.

RequestMessage

HttpRequestMessage

None.

IsSuccessStatusCode

boolean

None.