POST api/Management/SaveVendor
Request Information
URI Parameters
None.
Body Parameters
VendorView| Name | Description | Type | Additional information |
|---|---|---|---|
| Id | integer |
None. |
|
| Name | string |
None. |
|
| DepartmentReferenceId | integer |
None. |
|
| DepartmentReferenceName | string |
None. |
|
| Phone | string |
None. |
|
| string |
None. |
Request Formats
application/json, text/json
Sample:
{
"Id": 1,
"Name": "sample string 2",
"DepartmentReferenceId": 3,
"DepartmentReferenceName": "sample string 4",
"Phone": "sample string 5",
"Email": "sample string 6"
}
application/xml, text/xml
Sample:
<VendorView xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/PosEntity.ViewModel"> <DepartmentReferenceId>3</DepartmentReferenceId> <DepartmentReferenceName>sample string 4</DepartmentReferenceName> <Email>sample string 6</Email> <Id>1</Id> <Name>sample string 2</Name> <Phone>sample string 5</Phone> </VendorView>
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. |