POST api/vender/addpackage
Request Information
URI Parameters
None.
Body Parameters
Package| Name | Description | Type | Additional information |
|---|---|---|---|
| Package_ID | integer |
None. |
|
| Package_name | string |
None. |
|
| Package_min_price | decimal number |
None. |
|
| Package_max_price | decimal number |
None. |
|
| Package_price_type | string |
None. |
|
| Package_status | string |
None. |
|
| Package_tax_price | string |
None. |
|
| Package_discription | string |
None. |
|
| Package_callforprice | boolean |
None. |
|
| Vender_ID | integer |
None. |
|
| Package_created_date | date |
None. |
|
| Package_modify_date | date |
None. |
Request Formats
application/json, text/json
Sample:
{
"Package_ID": 1,
"Package_name": "sample string 2",
"Package_min_price": 1.0,
"Package_max_price": 1.0,
"Package_price_type": "sample string 3",
"Package_status": "sample string 4",
"Package_tax_price": "sample string 5",
"Package_discription": "sample string 6",
"Package_callforprice": true,
"Vender_ID": 1,
"Package_created_date": "2025-11-30T23:03:06.850246+00:00",
"Package_modify_date": "2025-11-30T23:03:06.850246+00:00"
}
application/xml, text/xml
Sample:
<Package xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/asanRishta.Models"> <Package_ID>1</Package_ID> <Package_callforprice>true</Package_callforprice> <Package_created_date>2025-11-30T23:03:06.850246+00:00</Package_created_date> <Package_discription>sample string 6</Package_discription> <Package_max_price>1</Package_max_price> <Package_min_price>1</Package_min_price> <Package_modify_date>2025-11-30T23:03:06.850246+00:00</Package_modify_date> <Package_name>sample string 2</Package_name> <Package_price_type>sample string 3</Package_price_type> <Package_status>sample string 4</Package_status> <Package_tax_price>sample string 5</Package_tax_price> <Vender_ID>1</Vender_ID> </Package>
application/x-www-form-urlencoded
Sample:
Sample not available.
Response Information
Resource Description
integerResponse Formats
application/json, text/json
Sample:
1
application/xml, text/xml
Sample:
<int xmlns="http://schemas.microsoft.com/2003/10/Serialization/">1</int>