Authorization: Bearer ********************{
"motoristaId": 0,
"nome": "string",
"dataNascimento": "2019-08-24T14:15:22.123Z",
"cnh": "string",
"validadeCNH": "2019-08-24T14:15:22.123Z",
"contato": "string"
}curl --location --request PUT 'https://api-tst.tms.otif.app/cadastros/v1/MotoristaTransportador' \
--header 'Authorization: Bearer <token>' \
--header 'Content-Type: application/json' \
--data-raw '{
"motoristaId": 0,
"nome": "string",
"dataNascimento": "2019-08-24T14:15:22.123Z",
"cnh": "string",
"validadeCNH": "2019-08-24T14:15:22.123Z",
"contato": "string"
}'{
"sucesso": true,
"response": null,
"erros": {
"property1": [
"string"
],
"property2": [
"string"
]
}
}