POST api/purchasemanagement/purchaseadd
Request Information
URI Parameters
None.
Body Parameters
PurchaseManagment| Name | Description | Type | Additional information |
|---|---|---|---|
| PurchaseManagmentId | integer |
None. |
|
| PartyId | integer |
None. |
|
| PurchaseDate | date |
None. |
|
| AssignEmployeeId | integer |
None. |
|
| InsertDateTime | date |
None. |
|
| PONo | string |
None. |
|
| Note | string |
None. |
|
| MainHeading | string |
None. |
Request Formats
application/json, text/json
Sample:
{
"PurchaseManagmentId": 1,
"PartyId": 1,
"PurchaseDate": "2025-12-06T09:59:48.5092715+05:30",
"AssignEmployeeId": 1,
"InsertDateTime": "2025-12-06T09:59:48.5102715+05:30",
"PONo": "sample string 2",
"Note": "sample string 3",
"MainHeading": "sample string 4"
}
application/xml, text/xml
Sample:
<PurchaseManagment xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/SolarDichachi"> <AssignEmployeeId>1</AssignEmployeeId> <InsertDateTime>2025-12-06T09:59:48.5102715+05:30</InsertDateTime> <MainHeading>sample string 4</MainHeading> <Note>sample string 3</Note> <PONo>sample string 2</PONo> <PartyId>1</PartyId> <PurchaseDate>2025-12-06T09:59:48.5092715+05:30</PurchaseDate> <PurchaseManagmentId>1</PurchaseManagmentId> </PurchaseManagment>
application/x-www-form-urlencoded
Sample:
Sample not available.
Response Information
Resource Description
Dictionary of string [key] and Object [value]Response Formats
application/json, text/json
Sample:
{
"sample string 1": {},
"sample string 3": {}
}
application/xml, text/xml
Sample:
<ArrayOfKeyValueOfstringanyType xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.microsoft.com/2003/10/Serialization/Arrays">
<KeyValueOfstringanyType>
<Key>sample string 1</Key>
<Value />
</KeyValueOfstringanyType>
<KeyValueOfstringanyType>
<Key>sample string 3</Key>
<Value />
</KeyValueOfstringanyType>
</ArrayOfKeyValueOfstringanyType>