POST AtendenteAgendamento/Inserir

Request Information

URI Parameters

None.

Body Parameters

AtendenteAgendamentoSasServiceCadastro
NameDescriptionTypeAdditional information
UsuarioID

integer

None.

ClienteIDPessoaJuridica

integer

None.

ListaAssunto

Collection of AssuntoUsuarioSasServiceCadastro

None.

Request Formats

application/json, text/json

Sample:
{
  "UsuarioID": 1,
  "ClienteIDPessoaJuridica": 1,
  "ListaAssunto": [
    {
      "AssuntoID": 1
    },
    {
      "AssuntoID": 1
    }
  ]
}

application/xml, text/xml

Sample:
<AtendenteAgendamentoSasServiceCadastro xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/br.sebrae_na.sas.Model.ValueObject.SasService">
  <ClienteIDPessoaJuridica>1</ClienteIDPessoaJuridica>
  <ListaAssunto>
    <AssuntoUsuarioSasServiceCadastro>
      <AssuntoID>1</AssuntoID>
    </AssuntoUsuarioSasServiceCadastro>
    <AssuntoUsuarioSasServiceCadastro>
      <AssuntoID>1</AssuntoID>
    </AssuntoUsuarioSasServiceCadastro>
  </ListaAssunto>
  <UsuarioID>1</UsuarioID>
</AtendenteAgendamentoSasServiceCadastro>

application/x-www-form-urlencoded

Sample:

Sample not available.

text/html

Sample:
{"UsuarioID":1,"ClienteIDPessoaJuridica":1,"ListaAssunto":[{"AssuntoID":1},{"AssuntoID":1}]}

Response Information

Resource Description

HttpResponseMessage
NameDescriptionTypeAdditional information
Version

Version

None.

Content

HttpContent

None.

StatusCode

HttpStatusCode

None.

ReasonPhrase

string

None.

Headers

Collection of Object

None.

RequestMessage

HttpRequestMessage

None.

IsSuccessStatusCode

boolean

None.