PUT api/Secretaria/AlterarOrdemHome

Request Information

URI Parameters

None.

Body Parameters

Collection of OrdemHomeDtoOfString
NameDescriptionTypeAdditional information
key

string

Required

nome

string

None.

ordemHome

byte

Required

id

string

None.

isNew

boolean

None.

Request Formats

application/json, text/json

Sample:
[
  {
    "key": "sample string 1",
    "nome": "sample string 2",
    "ordemHome": 64,
    "id": "sample string 1",
    "isNew": true
  },
  {
    "key": "sample string 1",
    "nome": "sample string 2",
    "ordemHome": 64,
    "id": "sample string 1",
    "isNew": true
  }
]

application/xml, text/xml

Sample:
<ArrayOfOrdemHomeDtoOfstring xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/CidConnectada.Webapi.Models.Organograma">
  <OrdemHomeDtoOfstring>
    <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">sample string 1</key>
    <nome>sample string 2</nome>
    <ordemHome>64</ordemHome>
  </OrdemHomeDtoOfstring>
  <OrdemHomeDtoOfstring>
    <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">sample string 1</key>
    <nome>sample string 2</nome>
    <ordemHome>64</ordemHome>
  </OrdemHomeDtoOfstring>
</ArrayOfOrdemHomeDtoOfstring>

application/x-www-form-urlencoded

Sample:

Sample not available.

Response Information

Resource Description

Collection of OrdemHomeDtoOfString
NameDescriptionTypeAdditional information
key

string

Required

nome

string

None.

ordemHome

byte

Required

id

string

None.

isNew

boolean

None.

Response Formats

application/json, text/json

Sample:
[
  {
    "key": "sample string 1",
    "nome": "sample string 2",
    "ordemHome": 64,
    "id": "sample string 1",
    "isNew": true
  },
  {
    "key": "sample string 1",
    "nome": "sample string 2",
    "ordemHome": 64,
    "id": "sample string 1",
    "isNew": true
  }
]

application/xml, text/xml

Sample:
<ArrayOfOrdemHomeDtoOfstring xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/CidConnectada.Webapi.Models.Organograma">
  <OrdemHomeDtoOfstring>
    <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">sample string 1</key>
    <nome>sample string 2</nome>
    <ordemHome>64</ordemHome>
  </OrdemHomeDtoOfstring>
  <OrdemHomeDtoOfstring>
    <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">sample string 1</key>
    <nome>sample string 2</nome>
    <ordemHome>64</ordemHome>
  </OrdemHomeDtoOfstring>
</ArrayOfOrdemHomeDtoOfstring>