POST api/Schedule/PostCollectionPlan

Request Information

URI Parameters

None.

Body Parameters

CollectionRequest
NameDescriptionTypeAdditional information
BuyerCode

string

None.

BuyerName

string

None.

PlanDate

date

None.

PlantID

integer

None.

PlantName

string

None.

UserID

integer

None.

Items

Collection of CollectionItem

None.

Request Formats

application/json, text/json

Sample:
{
  "BuyerCode": "sample string 1",
  "BuyerName": "sample string 2",
  "PlanDate": "2026-04-08T19:53:46.9785458+05:30",
  "PlantID": 4,
  "PlantName": "sample string 5",
  "UserID": 6,
  "Items": [
    {
      "AsslyNo": "sample string 1",
      "CollQty": 2.0,
      "PlanQty": 3.0,
      "Remark": "sample string 4"
    },
    {
      "AsslyNo": "sample string 1",
      "CollQty": 2.0,
      "PlanQty": 3.0,
      "Remark": "sample string 4"
    }
  ]
}

application/xml, text/xml

Sample:
<CollectionRequest xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/pressapi.Models">
  <BuyerCode>sample string 1</BuyerCode>
  <BuyerName>sample string 2</BuyerName>
  <Items>
    <CollectionItem>
      <AsslyNo>sample string 1</AsslyNo>
      <CollQty>2</CollQty>
      <PlanQty>3</PlanQty>
      <Remark>sample string 4</Remark>
    </CollectionItem>
    <CollectionItem>
      <AsslyNo>sample string 1</AsslyNo>
      <CollQty>2</CollQty>
      <PlanQty>3</PlanQty>
      <Remark>sample string 4</Remark>
    </CollectionItem>
  </Items>
  <PlanDate>2026-04-08T19:53:46.9785458+05:30</PlanDate>
  <PlantID>4</PlantID>
  <PlantName>sample string 5</PlantName>
  <UserID>6</UserID>
</CollectionRequest>

application/x-www-form-urlencoded

Sample:

Sample not available.

Response Information

Resource Description

IHttpActionResult

None.

Response Formats

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

Sample:

Sample not available.