GET Api/BioFacial/GetCooperado?_matricula={_matricula}&_lotacaoID={_lotacaoID}

Request Information

URI Parameters

NameDescriptionTypeAdditional information
_matricula

integer

Required

_lotacaoID

integer

Required

Body Parameters

None.

Response Information

Resource Description

DadosCooperadoDTO
NameDescriptionTypeAdditional information
ID

integer

None.

Matricula

integer

None.

Nome

string

None.

CPF

string

None.

FotoBiomatria

Collection of byte

None.

Vinculos

None.

Response Formats

application/json, text/json

Sample:
{
  "ID": 1,
  "Matricula": 2,
  "Nome": "sample string 3",
  "CPF": "sample string 4",
  "FotoBiomatria": "QEA=",
  "Vinculos": [
    {
      "ID": 1,
      "Cooperado": {
        "Id": 1,
        "Nome": "sample string 2"
      },
      "Lotacao": {
        "Id": 1,
        "Nome": "sample string 2"
      },
      "Setor": {
        "Id": 1,
        "Nome": "sample string 2"
      },
      "Funcao": {
        "Id": 1,
        "Nome": "sample string 2"
      },
      "Principal": true
    },
    {
      "ID": 1,
      "Cooperado": {
        "Id": 1,
        "Nome": "sample string 2"
      },
      "Lotacao": {
        "Id": 1,
        "Nome": "sample string 2"
      },
      "Setor": {
        "Id": 1,
        "Nome": "sample string 2"
      },
      "Funcao": {
        "Id": 1,
        "Nome": "sample string 2"
      },
      "Principal": true
    }
  ]
}

application/xml, text/xml

Sample:
<DadosCooperadoDTO xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/GCOOP.EntityLayer.DTO.BioFacial">
  <CPF>sample string 4</CPF>
  <FotoBiomatria>QEA=</FotoBiomatria>
  <ID>1</ID>
  <Matricula>2</Matricula>
  <Nome>sample string 3</Nome>
  <Vinculos>
    <VinculoDTO>
      <Cooperado xmlns:d4p1="http://schemas.datacontract.org/2004/07/GCOOP.EntityLayer.DTO">
        <d4p1:Id>1</d4p1:Id>
        <d4p1:Nome>sample string 2</d4p1:Nome>
      </Cooperado>
      <Funcao xmlns:d4p1="http://schemas.datacontract.org/2004/07/GCOOP.EntityLayer.DTO">
        <d4p1:Id>1</d4p1:Id>
        <d4p1:Nome>sample string 2</d4p1:Nome>
      </Funcao>
      <ID>1</ID>
      <Lotacao xmlns:d4p1="http://schemas.datacontract.org/2004/07/GCOOP.EntityLayer.DTO">
        <d4p1:Id>1</d4p1:Id>
        <d4p1:Nome>sample string 2</d4p1:Nome>
      </Lotacao>
      <Principal>true</Principal>
      <Setor xmlns:d4p1="http://schemas.datacontract.org/2004/07/GCOOP.EntityLayer.DTO">
        <d4p1:Id>1</d4p1:Id>
        <d4p1:Nome>sample string 2</d4p1:Nome>
      </Setor>
    </VinculoDTO>
    <VinculoDTO>
      <Cooperado xmlns:d4p1="http://schemas.datacontract.org/2004/07/GCOOP.EntityLayer.DTO">
        <d4p1:Id>1</d4p1:Id>
        <d4p1:Nome>sample string 2</d4p1:Nome>
      </Cooperado>
      <Funcao xmlns:d4p1="http://schemas.datacontract.org/2004/07/GCOOP.EntityLayer.DTO">
        <d4p1:Id>1</d4p1:Id>
        <d4p1:Nome>sample string 2</d4p1:Nome>
      </Funcao>
      <ID>1</ID>
      <Lotacao xmlns:d4p1="http://schemas.datacontract.org/2004/07/GCOOP.EntityLayer.DTO">
        <d4p1:Id>1</d4p1:Id>
        <d4p1:Nome>sample string 2</d4p1:Nome>
      </Lotacao>
      <Principal>true</Principal>
      <Setor xmlns:d4p1="http://schemas.datacontract.org/2004/07/GCOOP.EntityLayer.DTO">
        <d4p1:Id>1</d4p1:Id>
        <d4p1:Nome>sample string 2</d4p1:Nome>
      </Setor>
    </VinculoDTO>
  </Vinculos>
</DadosCooperadoDTO>