POST api/Brake/add_brakeMaha
Request Information
URI Parameters
None.
Body Parameters
BrakeObjName | Description | Type | Additional information |
---|---|---|---|
plate_num | string |
None. |
|
company_id | integer |
None. |
|
vendor_id | string |
None. |
|
sub_id | integer |
None. |
|
brake_type | integer |
None. |
|
bk_li | decimal number |
None. |
|
bk_re | decimal number |
None. |
|
gew_stat_li | integer |
None. |
|
gew_stat_re | integer |
None. |
|
vendor_name | string |
None. |
Request Formats
application/json, text/json
Sample:
{ "plate_num": "sample string 1", "company_id": 2, "vendor_id": "sample string 3", "sub_id": 4, "brake_type": 5, "bk_li": 6.0, "bk_re": 7.0, "gew_stat_li": 8, "gew_stat_re": 9, "vendor_name": "sample string 10" }
application/xml, text/xml
Sample:
<BrakeObj xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/PTIService.WebApi.Models"> <bk_li>6</bk_li> <bk_re>7</bk_re> <brake_type>5</brake_type> <company_id>2</company_id> <gew_stat_li>8</gew_stat_li> <gew_stat_re>9</gew_stat_re> <plate_num>sample string 1</plate_num> <sub_id>4</sub_id> <vendor_id>sample string 3</vendor_id> <vendor_name>sample string 10</vendor_name> </BrakeObj>
application/x-www-form-urlencoded
Sample:
Response Information
Resource Description
stringResponse Formats
application/json, text/json
Sample:
"sample string 1"
application/xml, text/xml
Sample:
<string xmlns="http://schemas.microsoft.com/2003/10/Serialization/">sample string 1</string>