POST api/VendorProfile/{ID}
Request Information
URI Parameters
| Name | Description | Type | Additional information |
|---|---|---|---|
| ID | string |
Required |
Body Parameters
VendorUpdate| Name | Description | Type | Additional information |
|---|---|---|---|
| V_ID | string |
None. |
|
| V_NAME | string |
None. |
|
| string |
None. |
||
| ADDRESS | string |
None. |
|
| LATITUDE | string |
None. |
|
| LONGITUDE | string |
None. |
|
| CONTACT_NO | string |
None. |
|
| CONTACT_PNAME | string |
None. |
|
| FROM_DATE | string |
None. |
|
| TO_DATE | string |
None. |
|
| OFF_PERCENTAGE | string |
None. |
|
| OPENING_TIME | string |
None. |
|
| CLOSING_TIME | string |
None. |
|
| LicenseNo | string |
None. |
|
| VENDOR_PIN | string |
None. |
|
| UNIT | string |
None. |
|
| HUA_PERCENTAGE | string |
None. |
|
| HUA_PERCENTAGE_UNIT | string |
None. |
|
| PETROL_OFF | string |
None. |
|
| DISEAL_OFF | string |
None. |
|
| LANLINE_NO | string |
None. |
|
| PHOTO | Collection of byte |
None. |
Request Formats
application/json, text/json
Sample:
{
"V_ID": "sample string 1",
"V_NAME": "sample string 2",
"EMAIL": "sample string 3",
"ADDRESS": "sample string 4",
"LATITUDE": "sample string 5",
"LONGITUDE": "sample string 6",
"CONTACT_NO": "sample string 7",
"CONTACT_PNAME": "sample string 8",
"FROM_DATE": "sample string 9",
"TO_DATE": "sample string 10",
"OFF_PERCENTAGE": "sample string 11",
"OPENING_TIME": "sample string 12",
"CLOSING_TIME": "sample string 13",
"LicenseNo": "sample string 14",
"VENDOR_PIN": "sample string 15",
"UNIT": "sample string 16",
"HUA_PERCENTAGE": "sample string 17",
"HUA_PERCENTAGE_UNIT": "sample string 18",
"PETROL_OFF": "sample string 19",
"DISEAL_OFF": "sample string 20",
"LANLINE_NO": "sample string 21",
"PHOTO": "QEA="
}
application/xml, text/xml
Sample:
<VendorUpdate xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/WebApiHUA.Models"> <ADDRESS>sample string 4</ADDRESS> <CLOSING_TIME>sample string 13</CLOSING_TIME> <CONTACT_NO>sample string 7</CONTACT_NO> <CONTACT_PNAME>sample string 8</CONTACT_PNAME> <DISEAL_OFF>sample string 20</DISEAL_OFF> <EMAIL>sample string 3</EMAIL> <FROM_DATE>sample string 9</FROM_DATE> <HUA_PERCENTAGE>sample string 17</HUA_PERCENTAGE> <HUA_PERCENTAGE_UNIT>sample string 18</HUA_PERCENTAGE_UNIT> <LANLINE_NO>sample string 21</LANLINE_NO> <LATITUDE>sample string 5</LATITUDE> <LONGITUDE>sample string 6</LONGITUDE> <LicenseNo>sample string 14</LicenseNo> <OFF_PERCENTAGE>sample string 11</OFF_PERCENTAGE> <OPENING_TIME>sample string 12</OPENING_TIME> <PETROL_OFF>sample string 19</PETROL_OFF> <PHOTO>QEA=</PHOTO> <TO_DATE>sample string 10</TO_DATE> <UNIT>sample string 16</UNIT> <VENDOR_PIN>sample string 15</VENDOR_PIN> <V_ID>sample string 1</V_ID> <V_NAME>sample string 2</V_NAME> </VendorUpdate>
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. |