POST api/Appoinment/SaveVendorAppoinmetMasterWithMeetingType
Request Information
URI Parameters
None.
Body Parameters
VendorOnBoardingAppointment| 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. |
|
| created_user_id | integer |
None. |
|
| from_time | time interval |
None. |
|
| to_time | time interval |
None. |
|
| weight_collection_code | string |
None. |
|
| vendor_onboarding_apnmnt_item_deliveries | Collection of VendorOnBoardingApnmntItemDelivery |
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": 1,
"created_user_id": 8,
"from_time": "00:00:00.1234567",
"to_time": "00:00:00.1234567",
"weight_collection_code": "sample string 11",
"vendor_onboarding_apnmnt_item_deliveries": [
{
"appoinment_item_det_id": 1,
"v_approintment_Id": 1,
"item_id": 1,
"transaction_type_id": 1,
"transaction_type": "sample string 1",
"reference_number": "sample string 2",
"total_pcs": 3.1,
"weight": 1.0,
"created_by": 1
},
{
"appoinment_item_det_id": 1,
"v_approintment_Id": 1,
"item_id": 1,
"transaction_type_id": 1,
"transaction_type": "sample string 1",
"reference_number": "sample string 2",
"total_pcs": 3.1,
"weight": 1.0,
"created_by": 1
}
]
}
application/xml, text/xml
Sample:
<VendorOnBoardingAppointment 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>8</created_user_id>
<delivery_location_id>4</delivery_location_id>
<from_time>PT0.1234567S</from_time>
<meetingtype_id>1</meetingtype_id>
<remarks>sample string 7</remarks>
<to_time>PT0.1234567S</to_time>
<vehicle_number>sample string 5</vehicle_number>
<vendor_appointmenttype_id>1</vendor_appointmenttype_id>
<vendor_onboarding_apnmnt_item_deliveries>
<VendorOnBoardingApnmntItemDelivery>
<appoinment_item_det_id>1</appoinment_item_det_id>
<created_by>1</created_by>
<item_id>1</item_id>
<reference_number>sample string 2</reference_number>
<total_pcs>3.1</total_pcs>
<transaction_type>sample string 1</transaction_type>
<transaction_type_id>1</transaction_type_id>
<v_approintment_Id>1</v_approintment_Id>
<weight>1</weight>
</VendorOnBoardingApnmntItemDelivery>
<VendorOnBoardingApnmntItemDelivery>
<appoinment_item_det_id>1</appoinment_item_det_id>
<created_by>1</created_by>
<item_id>1</item_id>
<reference_number>sample string 2</reference_number>
<total_pcs>3.1</total_pcs>
<transaction_type>sample string 1</transaction_type>
<transaction_type_id>1</transaction_type_id>
<v_approintment_Id>1</v_approintment_Id>
<weight>1</weight>
</VendorOnBoardingApnmntItemDelivery>
</vendor_onboarding_apnmnt_item_deliveries>
<weight_collection_code>sample string 11</weight_collection_code>
</VendorOnBoardingAppointment>
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>