POST api/Schedule/PostSchedule
Request Information
URI Parameters
None.
Body Parameters
ScheduleRequest| Name | Description | Type | Additional information |
|---|---|---|---|
| BuyerCode | string |
None. |
|
| BuyerName | string |
None. |
|
| MonthYear | string |
None. |
|
| EntryDate | date |
None. |
|
| PlantID | integer |
None. |
|
| PlantName | string |
None. |
|
| UserID | integer |
None. |
|
| RevisionNo | integer |
None. |
|
| Items | Collection of ScheduleItem |
None. |
|
| IsEditMode | integer |
None. |
Request Formats
application/json, text/json
Sample:
{
"BuyerCode": "sample string 1",
"BuyerName": "sample string 2",
"MonthYear": "sample string 3",
"EntryDate": "2026-04-08T20:01:18.1338516+05:30",
"PlantID": 5,
"PlantName": "sample string 6",
"UserID": 7,
"RevisionNo": 8,
"Items": [
{
"AsslyNo": "sample string 1",
"SchQty": 2.0,
"PlanQty": 3.0,
"Remark": "sample string 4"
},
{
"AsslyNo": "sample string 1",
"SchQty": 2.0,
"PlanQty": 3.0,
"Remark": "sample string 4"
}
],
"IsEditMode": 9
}
application/xml, text/xml
Sample:
<ScheduleRequest 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>
<EntryDate>2026-04-08T20:01:18.1338516+05:30</EntryDate>
<IsEditMode>9</IsEditMode>
<Items>
<ScheduleItem>
<AsslyNo>sample string 1</AsslyNo>
<PlanQty>3</PlanQty>
<Remark>sample string 4</Remark>
<SchQty>2</SchQty>
</ScheduleItem>
<ScheduleItem>
<AsslyNo>sample string 1</AsslyNo>
<PlanQty>3</PlanQty>
<Remark>sample string 4</Remark>
<SchQty>2</SchQty>
</ScheduleItem>
</Items>
<MonthYear>sample string 3</MonthYear>
<PlantID>5</PlantID>
<PlantName>sample string 6</PlantName>
<RevisionNo>8</RevisionNo>
<UserID>7</UserID>
</ScheduleRequest>
application/x-www-form-urlencoded
Sample:
Sample not available.
Response Information
Resource Description
IHttpActionResultNone.
Response Formats
application/json, text/json, application/xml, text/xml
Sample:
Sample not available.