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.ScAgendServMotoristaName | 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:
{ "Id": 1.0, "Cnh": 2.0, "CategCnh": "sample string 3", "Cpf": 1.0, "Identidade": 1.0, "OrgEmissId": 1.0, "Nome": "sample string 4", "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"> <Id i:type="x:decimal" xmlns="">1</Id> <Cnh i:type="x:decimal" xmlns="">2</Cnh> <CategCnh i:type="x:string" xmlns="">sample string 3</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 4</Nome> <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>