PUT api/lines/{id}
Request Information
URI Parameters
| Name | Description | Type | Additional information |
|---|---|---|---|
| id | integer |
Required |
Body Parameters
lines| Name | Description | Type | Additional information |
|---|---|---|---|
| caption | string |
None. |
|
| line_code | integer |
None. |
|
| karmozd | integer |
None. |
|
| bar_bim_per | integer |
None. |
|
| send_host | boolean |
None. |
Request Formats
application/json, text/json
Sample:
{
"caption": "sample string 1",
"line_code": 2,
"karmozd": 1,
"bar_bim_per": 1,
"send_host": true
}
text/html
Sample:
{"caption":"sample string 1","line_code":2,"karmozd":1,"bar_bim_per":1,"send_host":true}
application/xml, text/xml
Sample:
<lines xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/TWD_WEB.Models"> <bar_bim_per>1</bar_bim_per> <caption>sample string 1</caption> <karmozd>1</karmozd> <line_code>2</line_code> <send_host>true</send_host> </lines>
application/x-www-form-urlencoded
Sample:
Sample not available.
Response Information
Resource Description
None.