POST api/DefPartyType/InsertOrUpdatePartyType?isOpen={isOpen}&vUserID={vUserID}
Request Information
URI Parameters
| Name | Description | Type | Additional information |
|---|---|---|---|
| isOpen | boolean |
Required |
|
| vUserID | integer |
Required |
Body Parameters
PartyTypes| Name | Description | Type | Additional information |
|---|---|---|---|
| PartyTypeID | integer |
None. |
|
| PartyTypeTitle | string |
None. |
|
| InActive | boolean |
None. |
|
| GroupAccount | string |
None. |
|
| Remarks | string |
None. |
Request Formats
application/json, text/json
Sample:
{
"PartyTypeID": 1,
"PartyTypeTitle": "sample string 2",
"InActive": true,
"GroupAccount": "sample string 4",
"Remarks": "sample string 5"
}
application/xml, text/xml
Sample:
<PartyTypes xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/Objects"> <GroupAccount>sample string 4</GroupAccount> <InActive>true</InActive> <PartyTypeID>1</PartyTypeID> <PartyTypeTitle>sample string 2</PartyTypeTitle> <Remarks>sample string 5</Remarks> </PartyTypes>
application/x-www-form-urlencoded
Sample:
Sample not available.
Response Information
Resource Description
HttpResponseMessage| Name | Description | Type | Additional information |
|---|---|---|---|
| Version | Version |
None. |
|
| Content | HttpContent |
None. |
|
| StatusCode | HttpStatusCode |
None. |
|
| ReasonPhrase | string |
None. |
|
| Headers | Collection of Object |
None. |
|
| RequestMessage | HttpRequestMessage |
None. |
|
| IsSuccessStatusCode | boolean |
None. |