POST api/company/courier-save
Request Information
URI Parameters
None.
Body Parameters
CourierCrudDto| Name | Description | Type | Additional information |
|---|---|---|---|
| ID | integer |
None. |
|
| CourierCompanyID | integer |
None. |
|
| Phone | string |
None. |
|
| Name | string |
None. |
|
| Password | string |
None. |
|
| Platform | string |
None. |
|
| PlateNumber | string |
None. |
|
| HesapKobiKey | string |
None. |
|
| Iban | string |
None. |
|
| TaxName | string |
None. |
|
| TaxOffice | string |
None. |
|
| TaxNumber | string |
None. |
|
| TaxAddress | string |
None. |
|
| Grade | integer |
None. |
|
| KdvRate | integer |
None. |
|
| TevkifatRate | decimal number |
None. |
|
| HourlyFixedPrice | decimal number |
None. |
|
| DailyFixedPrice | decimal number |
None. |
|
| PackageCancelation | boolean |
None. |
Request Formats
application/json, text/json
Sample:
{
"ID": 1,
"CourierCompanyID": 2,
"Phone": "sample string 3",
"Name": "sample string 4",
"Password": "sample string 5",
"Platform": "sample string 6",
"PlateNumber": "sample string 7",
"HesapKobiKey": "sample string 8",
"Iban": "sample string 9",
"TaxName": "sample string 10",
"TaxOffice": "sample string 11",
"TaxNumber": "sample string 12",
"TaxAddress": "sample string 13",
"Grade": 14,
"KdvRate": 15,
"TevkifatRate": 16.0,
"HourlyFixedPrice": 17.0,
"DailyFixedPrice": 18.0,
"PackageCancelation": true
}
application/xml, text/xml
Sample:
<CourierDTO.CourierCrudDto xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/PanelAPI.Models"> <CourierCompanyID>2</CourierCompanyID> <DailyFixedPrice>18</DailyFixedPrice> <Grade>14</Grade> <HesapKobiKey>sample string 8</HesapKobiKey> <HourlyFixedPrice>17</HourlyFixedPrice> <ID>1</ID> <Iban>sample string 9</Iban> <KdvRate>15</KdvRate> <Name>sample string 4</Name> <PackageCancelation>true</PackageCancelation> <Password>sample string 5</Password> <Phone>sample string 3</Phone> <PlateNumber>sample string 7</PlateNumber> <Platform>sample string 6</Platform> <TaxAddress>sample string 13</TaxAddress> <TaxName>sample string 10</TaxName> <TaxNumber>sample string 12</TaxNumber> <TaxOffice>sample string 11</TaxOffice> <TevkifatRate>16</TevkifatRate> </CourierDTO.CourierCrudDto>
application/x-www-form-urlencoded
Sample:
Sample not available.
Response Information
Resource Description
IHttpActionResultNone.
Response Formats
application/json, text/json, application/xml, text/xml
Sample:
Sample not available.