GET API/AgendServManter/Transp/RecuperarDadosMotorista?cnh={cnh}
Retorna os dados do motorista de acordo com a CNH informada
Request Information
URI Parameters
| Name | Description | Type | Additional information |
|---|---|---|---|
| cnh |
CNH do motorista |
string |
Required |
Body Parameters
None.
Response Information
Resource Description
WilsonSons.Terminais.WSNegocio.Modelo.ScAgendServMotorista| Name | Description | Type | Additional information |
|---|---|---|---|
| Cnh | decimal number |
None. |
|
| CategCnh | string |
None. |
|
| Cpf | decimal number |
None. |
|
| Identidade | decimal number |
None. |
|
| OrgEmissId | decimal number |
None. |
|
| Nome | string |
None. |
|
| Id | decimal number |
None. |
|
| CnhString | string |
None. |
|
| CpfString | string |
None. |
|
| IdentidadeString | string |
None. |
|
| Instancia | WilsonSons.Arquitetura.Framework.GenericObjectHandler.Modelo.BaseDTO |
None. |
|
| Estado | System.Data.DataRowState |
None. |
|
| Filtrado | boolean |
None. |
|
| Original | WilsonSons.Arquitetura.Framework.GenericObjectHandler.Modelo.BaseDTO |
None. |
|
| FoiAlterado | boolean |
None. |
|
| Lista | Collection of Object |
None. |
|
| EdicaoIniciada | boolean |
None. |
|
| AdicaoPendente | boolean |
None. |
|
| ErroValidacao | string |
None. |
|
| ErroValidacaoItem | string |
None. |
Response Formats
application/json, text/json
Sample:
{
"Cnh": 1.0,
"CategCnh": "sample string 2",
"Cpf": 1.0,
"Identidade": 1.0,
"OrgEmissId": 1.0,
"Nome": "sample string 3",
"Id": 4.0,
"CnhString": "sample string 5",
"CpfString": "sample string 6",
"IdentidadeString": "sample string 7"
}
application/xml, text/xml
Sample:
<ScAgendServMotorista xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns:x="http://www.w3.org/2001/XMLSchema" xmlns="http://schemas.datacontract.org/2004/07/WilsonSons.Terminais.WSNegocio.Modelo"> <Cnh i:type="x:decimal" xmlns="">1</Cnh> <CategCnh i:type="x:string" xmlns="">sample string 2</CategCnh> <Cpf i:type="x:decimal" xmlns="">1</Cpf> <Identidade i:type="x:decimal" xmlns="">1</Identidade> <OrgEmissId i:type="x:decimal" xmlns="">1</OrgEmissId> <Nome i:type="x:string" xmlns="">sample string 3</Nome> <Id i:type="x:decimal" xmlns="">4</Id> <CnhString i:type="x:string" xmlns="">sample string 5</CnhString> <CpfString i:type="x:string" xmlns="">sample string 6</CpfString> <IdentidadeString i:type="x:string" xmlns="">sample string 7</IdentidadeString> </ScAgendServMotorista>