POST api/farmPenToSalesFlow/RequestQty/{requestQty}/update?workerEmail={workerEmail}

Request Information

URI Parameters

NameDescriptionTypeAdditional information
requestQty

integer

Required

workerEmail

string

Required

Body Parameters

Pen_to_Sales_Flow
NameDescriptionTypeAdditional information
Id

integer

None.

PenId

integer

Required

RoomId

integer

Required

CategoryId

integer

Required

SalesStockId

integer

None.

RoomAnimalId

integer

None.

BusinessId

integer

None.

Farm_Business

Farm_Business

None.

RequestQty

integer

Required

Description

string

None.

SalesFlowDate

date

None.

DateModified

date

None.

Request Formats

application/json, text/json

Sample:
{
  "Id": 1,
  "PenId": 2,
  "RoomId": 3,
  "CategoryId": 4,
  "SalesStockId": 5,
  "RoomAnimalId": 6,
  "BusinessId": 7,
  "Farm_Business": {
    "Id": 1,
    "Name": "sample string 2",
    "DateCreated": "2025-12-04T23:14:31.1510167+01:00",
    "DateModified": "2025-12-04T23:14:31.1510167+01:00"
  },
  "RequestQty": 8,
  "Description": "sample string 9",
  "SalesFlowDate": "2025-12-04T23:14:31.1510167+01:00",
  "DateModified": "2025-12-04T23:14:31.1510167+01:00"
}

application/xml, text/xml

Sample:
<Pen_to_Sales_Flow xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/BaseLibrary.Entities">
  <BusinessId>7</BusinessId>
  <CategoryId>4</CategoryId>
  <DateModified>2025-12-04T23:14:31.1510167+01:00</DateModified>
  <Description>sample string 9</Description>
  <Farm_Business>
    <DateCreated>2025-12-04T23:14:31.1510167+01:00</DateCreated>
    <DateModified>2025-12-04T23:14:31.1510167+01:00</DateModified>
    <Id>1</Id>
    <Name>sample string 2</Name>
  </Farm_Business>
  <Id>1</Id>
  <PenId>2</PenId>
  <RequestQty>8</RequestQty>
  <RoomAnimalId>6</RoomAnimalId>
  <RoomId>3</RoomId>
  <SalesFlowDate>2025-12-04T23:14:31.1510167+01:00</SalesFlowDate>
  <SalesStockId>5</SalesStockId>
</Pen_to_Sales_Flow>

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

Response Information

Resource Description

IHttpActionResult

None.

Response Formats

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

Sample:

Sample not available.