PUT api/ProductionDetail/Update

Request Information

URI Parameters

None.

Body Parameters

ProductionDetailUpdateDto
NameDescriptionTypeAdditional information
CurrencyAmount

decimal number

None.

CurrencyRate

decimal number

None.

Quantity

decimal number

None.

Amount

decimal number

None.

TotalAmount

decimal number

None.

Description

string

None.

ProductID

globally unique identifier

None.

WarehouseID

globally unique identifier

None.

ProductionID

globally unique identifier

None.

ID

globally unique identifier

Required

CompanyID

globally unique identifier

None.

Request Formats

application/json, text/json

Sample:
{
  "currencyAmount": 1.1,
  "currencyRate": 2.1,
  "quantity": 3.1,
  "amount": 4.0,
  "totalAmount": 5.0,
  "description": "sample string 6",
  "productID": "a897434a-8155-41fc-91b0-64859f65b149",
  "warehouseID": "19e1fdb9-2209-445a-b259-cc66c98ebb4e",
  "productionID": "437823db-d04a-453f-82c2-e36dcb8f9441",
  "id": "45bebd66-1d70-43ff-a865-9dfde2a97e92",
  "companyID": "0b101846-6923-401e-a4bc-8bad27d5c30e"
}

application/xml, text/xml

Sample:
<ProductionDetailUpdateDto xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/TP.TulTrack.Core.Service.DTOs">
  <CompanyID>0b101846-6923-401e-a4bc-8bad27d5c30e</CompanyID>
  <ID>45bebd66-1d70-43ff-a865-9dfde2a97e92</ID>
  <Amount>4</Amount>
  <CurrencyAmount>1.1</CurrencyAmount>
  <CurrencyRate>2.1</CurrencyRate>
  <Description>sample string 6</Description>
  <ProductID>a897434a-8155-41fc-91b0-64859f65b149</ProductID>
  <ProductionID>437823db-d04a-453f-82c2-e36dcb8f9441</ProductionID>
  <Quantity>3.1</Quantity>
  <TotalAmount>5</TotalAmount>
  <WarehouseID>19e1fdb9-2209-445a-b259-cc66c98ebb4e</WarehouseID>
</ProductionDetailUpdateDto>

application/x-www-form-urlencoded

Sample:

Sample not available.

text/html

Sample:
{"currencyAmount":1.1,"currencyRate":2.1,"quantity":3.1,"amount":4.0,"totalAmount":5.0,"description":"sample string 6","productID":"a897434a-8155-41fc-91b0-64859f65b149","warehouseID":"19e1fdb9-2209-445a-b259-cc66c98ebb4e","productionID":"437823db-d04a-453f-82c2-e36dcb8f9441","id":"45bebd66-1d70-43ff-a865-9dfde2a97e92","companyID":"0b101846-6923-401e-a4bc-8bad27d5c30e"}

Response Information

Resource Description

IHttpActionResult

None.

Response Formats

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

Sample:

Sample not available.