POST api/party/add
Request Information
URI Parameters
None.
Body Parameters
PartyModel| Name | Description | Type | Additional information |
|---|---|---|---|
| PartyId | integer |
None. |
|
| PartyName | string |
None. |
|
| Address | string |
None. |
|
| City | string |
None. |
|
| Phone | string |
None. |
|
| Mobile | string |
None. |
|
| OpeningBalance | decimal number |
None. |
|
| Type | string |
None. |
Request Formats
application/json, text/json
Sample:
{
"PartyId": 1,
"PartyName": "sample string 2",
"Address": "sample string 3",
"City": "sample string 4",
"Phone": "sample string 5",
"Mobile": "sample string 6",
"OpeningBalance": 7.0,
"Type": "sample string 8"
}
application/xml, text/xml
Sample:
<PartyModel xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/pressapi.Models"> <Address>sample string 3</Address> <City>sample string 4</City> <Mobile>sample string 6</Mobile> <OpeningBalance>7</OpeningBalance> <PartyId>1</PartyId> <PartyName>sample string 2</PartyName> <Phone>sample string 5</Phone> <Type>sample string 8</Type> </PartyModel>
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.