GET API/AgendCntrManter/CarregarMotoristaPorCpf/{cpf}
Retorna motorista pelo cpf.
Request Information
URI Parameters
Name | Description | Type | Additional information |
---|---|---|---|
cpf |
cpf |
decimal number |
Required |
Body Parameters
None.
Response Information
Resource Description
WilsonSons.Terminais.WSNegocio.Modelo.ScAgendMotoristaName | Description | Type | Additional information |
---|---|---|---|
Id | decimal number |
None. |
|
CategCnh | string |
None. |
|
Cpf | decimal number |
None. |
|
Identidade | decimal number |
None. |
|
OrgEmissId | decimal number |
None. |
|
Nome | string |
None. |
|
AgendMotoristaId | decimal number |
None. |
|
N4DriverLicense | string |
None. |
|
N4CardId | 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, "CategCnh": "sample string 2", "Cpf": 1.0, "Identidade": 1.0, "OrgEmissId": 1.0, "Nome": "SAMPLE STRING 3", "AgendMotoristaId": 1.0, "N4DriverLicense": "SAMPLE STRING 4", "N4CardId": "sample string 5" }
application/xml, text/xml
Sample:
<ScAgendMotorista 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> <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> <AgendMotoristaId i:type="x:decimal" xmlns="">1</AgendMotoristaId> <N4DriverLicense i:type="x:string" xmlns="">SAMPLE STRING 4</N4DriverLicense> <N4CardId i:type="x:string" xmlns="">sample string 5</N4CardId> </ScAgendMotorista>