POST api/Appoinment/SaveVendorAppoinmetMasterWithWeightCollection
Request Information
URI Parameters
None.
Body Parameters
VendorOnBoardingAppointmentWithWeightCollection| Name | Description | Type | Additional information |
|---|---|---|---|
| vendor_appointmenttype_id | integer |
None. |
|
| agent_location_id | integer |
None. |
|
| agent_id | integer |
None. |
|
| delivery_location_id | integer |
None. |
|
| vehicle_number | string |
None. |
|
| appointment_date | string |
None. |
|
| remarks | string |
None. |
|
| meetingtype_id | integer |
None. |
|
| status_id | string |
None. |
|
| created_user_id | integer |
None. |
|
| from_time | time interval |
None. |
|
| to_time | time interval |
None. |
|
| weight_collection_code | string |
None. |
Request Formats
application/json, text/json
Sample:
{
"vendor_appointmenttype_id": 1,
"agent_location_id": 2,
"agent_id": 3,
"delivery_location_id": 4,
"vehicle_number": "sample string 5",
"appointment_date": "sample string 6",
"remarks": "sample string 7",
"meetingtype_id": 8,
"status_id": "sample string 9",
"created_user_id": 10,
"from_time": "00:00:00.1234567",
"to_time": "00:00:00.1234567",
"weight_collection_code": "sample string 13"
}
application/xml, text/xml
Sample:
<VendorOnBoardingAppointmentWithWeightCollection xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/PartnerNetwork.Models"> <agent_id>3</agent_id> <agent_location_id>2</agent_location_id> <appointment_date>sample string 6</appointment_date> <created_user_id>10</created_user_id> <delivery_location_id>4</delivery_location_id> <from_time>PT0.1234567S</from_time> <meetingtype_id>8</meetingtype_id> <remarks>sample string 7</remarks> <status_id>sample string 9</status_id> <to_time>PT0.1234567S</to_time> <vehicle_number>sample string 5</vehicle_number> <vendor_appointmenttype_id>1</vendor_appointmenttype_id> <weight_collection_code>sample string 13</weight_collection_code> </VendorOnBoardingAppointmentWithWeightCollection>
application/x-www-form-urlencoded
Sample:
Response Information
Resource Description
ResponseSaveVendorAppoinmetMaster| Name | Description | Type | Additional information |
|---|---|---|---|
| appointment_id | integer |
None. |
|
| success | string |
None. |
|
| error_message | string |
None. |
Response Formats
application/json, text/json
Sample:
{
"appointment_id": 1,
"success": "sample string 2",
"error_message": "sample string 3"
}
application/xml, text/xml
Sample:
<ResponseSaveVendorAppoinmetMaster xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/PartnerNetwork.Models"> <error_message>sample string 3</error_message> <success>sample string 2</success> <appointment_id>1</appointment_id> </ResponseSaveVendorAppoinmetMaster>