PUT api/TipoComercio/AlterarOrdemHome
Request Information
URI Parameters
None.
Body Parameters
Collection of OrdemHomeDtoOfInt32| Name | Description | Type | Additional information |
|---|---|---|---|
| key | integer |
Required |
|
| nome | string |
None. |
|
| ordemHome | byte |
Required |
|
| id | integer |
None. |
|
| isNew | boolean |
None. |
Request Formats
application/json, text/json
Sample:
[
{
"key": 1,
"nome": "sample string 2",
"ordemHome": 64,
"id": 1,
"isNew": true
},
{
"key": 1,
"nome": "sample string 2",
"ordemHome": 64,
"id": 1,
"isNew": true
}
]
application/xml, text/xml
Sample:
<ArrayOfOrdemHomeDtoOfint xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/CidConnectada.Webapi.Models.Organograma">
<OrdemHomeDtoOfint>
<isNew xmlns="http://schemas.datacontract.org/2004/07/Zenite.Pi.Web.Models">true</isNew>
<key xmlns="http://schemas.datacontract.org/2004/07/Zenite.Pi.Web.Models">1</key>
<nome>sample string 2</nome>
<ordemHome>64</ordemHome>
</OrdemHomeDtoOfint>
<OrdemHomeDtoOfint>
<isNew xmlns="http://schemas.datacontract.org/2004/07/Zenite.Pi.Web.Models">true</isNew>
<key xmlns="http://schemas.datacontract.org/2004/07/Zenite.Pi.Web.Models">1</key>
<nome>sample string 2</nome>
<ordemHome>64</ordemHome>
</OrdemHomeDtoOfint>
</ArrayOfOrdemHomeDtoOfint>
application/x-www-form-urlencoded
Sample:
Sample not available.
Response Information
Resource Description
Collection of OrdemHomeDtoOfInt32| Name | Description | Type | Additional information |
|---|---|---|---|
| key | integer |
Required |
|
| nome | string |
None. |
|
| ordemHome | byte |
Required |
|
| id | integer |
None. |
|
| isNew | boolean |
None. |
Response Formats
application/json, text/json
Sample:
[
{
"key": 1,
"nome": "sample string 2",
"ordemHome": 64,
"id": 1,
"isNew": true
},
{
"key": 1,
"nome": "sample string 2",
"ordemHome": 64,
"id": 1,
"isNew": true
}
]
application/xml, text/xml
Sample:
<ArrayOfOrdemHomeDtoOfint xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/CidConnectada.Webapi.Models.Organograma">
<OrdemHomeDtoOfint>
<isNew xmlns="http://schemas.datacontract.org/2004/07/Zenite.Pi.Web.Models">true</isNew>
<key xmlns="http://schemas.datacontract.org/2004/07/Zenite.Pi.Web.Models">1</key>
<nome>sample string 2</nome>
<ordemHome>64</ordemHome>
</OrdemHomeDtoOfint>
<OrdemHomeDtoOfint>
<isNew xmlns="http://schemas.datacontract.org/2004/07/Zenite.Pi.Web.Models">true</isNew>
<key xmlns="http://schemas.datacontract.org/2004/07/Zenite.Pi.Web.Models">1</key>
<nome>sample string 2</nome>
<ordemHome>64</ordemHome>
</OrdemHomeDtoOfint>
</ArrayOfOrdemHomeDtoOfint>