Arimateia, estou tentando enviar direto pelo Postman e esta retornando a mens abaixo :
Retorno :
{
"error": {
"code": "InvalidJsonProperty",
"message": "Property \"ambiente\" does not refer to a known property in type \"Mdfe.Sefaz.DTO.TInfMDFe\""
}
}
JSON enviado:
{
"infMDFe": {
"versao": "3.00",
"ide": {
"cUF": 26,
"tpAmb": 2,
"tpEmit": 1,
"tpTransp": 2,
"mod": 58,
"serie": 1,
"nMDF": 9114,
"modal": 1,
"dhEmi": "2024-03-26T08:00:00Z",
"tpEmis": 1,
"procEmi": "0",
"verProc": "wepsystem",
"UFIni": "PE",
"UFFim": "MA",
"infMunCarrega": [
{
"cMunCarrega": "2611606",
"xMunCarrega": "RECIFE"
}
],
"infPercurso":
[
{
"UFPer": "PI"
}
]
},
"emit": {
"CNPJ": "31432785000103",
"IE": "079075401",
"xNome": "WLS TRANSPORTE E LOCACAO LTDA",
"xFant": "WLS CARGO",
"enderEmit": {
"xLgr": "RUA ITAMARACA",
"nro": "335",
"xBairro": "IMBIRIBEIRA",
"cMun": "2611606",
"xMun": "RECIFE",
"CEP": "51200030",
"UF": "PE",
"fone": "81996850792"
}
},
"infModal": {
"versaoModal": "3.00",
"rodo": {
"infANTT": {
"RNTRC": "53223722",
"infContratante": [
{
"CNPJ": "31432785000103"
}
]
},
"veicTracao": {
"cInt": "NOA5607",
"placa": "NOA5607",
"RENAVAM": "00253313937",
"tara": 410.000,
"prop": {
"CPF": "03611139432",
"RNTRC": "00845678",
"xNome": "ANTONIO GOMES DA SILVA",
"tpProp": 1
},
"condutor": [
{
"xNome": "ADAILTON ROCHA DA SILVA",
"CPF": "01850859469"
}
],
"tpRod": "06",
"tpCar": "01",
"UF": "RN"
}
}
},
"infDoc": {
"infMunDescarga": [
{
"cMunDescarga": "2101202",
"xMunDescarga": "Bacabal",
"infCTe": [
{"chCTe": "41240303007331016579570010018642611445480322"}
,{"chCTe": "41240303007331016579570010019214811688940904"}
,{"chCTe": "35240303007331009017571570029996321832645096"}
,{"chCTe": "32240303007331004805571570058453211341408662"}
,{"chCTe": "29240303007331009793571570422684441866971964"}
,{"chCTe": "35240303007331007901571571197297671580194771"}
]
},
{
"cMunDescarga": "2101939",
"xMunDescarga": "Bernardo do Mearim",
"infCTe":[
{"chCTe": "29240303007331009793571570423206051893175728"}
]
},
{
"cMunDescarga": "2102077",
"xMunDescarga": "Bom Lugar",
"infCTe": [
{"chCTe": "29240303007331009793571570423313811621615934"}]
},
{
"cMunDescarga": "2103307",
"xMunDescarga": "Codo",
"infCTe": [
{"chCTe": "35240303007331012158571570145603231050924912"}
,{"chCTe": "35240303007331007235570010148752171686441975"}
,{"chCTe": "35240303007331004996571570314312821140858341"}
,{"chCTe": "35240303007331011186571570336799391427057376"}
,{"chCTe": "29240303007331009793571570415349041616869916"}
,{"chCTe": "35240303007331007901571571181472391888532432"}]
},
{
"cMunDescarga": "2103604",
"xMunDescarga": "Coroata",
"infCTe": [
{"chCTe": "35240303007331007901571571197214611365308540"}]
},
{
"cMunDescarga": "2104008",
"xMunDescarga": "Esperantinopolis",
"infCTe": [
{"chCTe": "42240303007331012077571570509499361429982380"}]
},
{
"cMunDescarga": "2105708",
"xMunDescarga": "Lago da Pedra",
"infCTe": [
{"chCTe": "35240303007331001466571570102287741197811409"}
,{"chCTe": "29240303007331009793571570422715701414299408"}]
},
{
"cMunDescarga": "2105948",
"xMunDescarga": "Lago dos Rodrigues",
"infCTe": [
{"chCTe": "32240303007331004805571570058844311490521411"}]
},
{
"cMunDescarga": "2106631",
"xMunDescarga": "Matoes do Norte",
"infCTe": [
{"chCTe": "35240303007331007901571571193615421434885185"}]
},
{
"cMunDescarga": "2107407",
"xMunDescarga": "Olho DAgua das Cunhas",
"infCTe": [
{"chCTe": "35240303007331004996571570315490341371257895"}]
},
{
"cMunDescarga": "2108207",
"xMunDescarga": "Pedreiras",
"infCTe": [
{"chCTe": "35240303007331007235570010143844631844704326"}]
},
{
"cMunDescarga": "2111409",
"xMunDescarga": "Sao Luis Gonzaga do Maranhao",
"infCTe": [
{"chCTe": "31240303007331013715571570161088891979009606"}]
},
{
"cMunDescarga": "2111508",
"xMunDescarga": "Sao Mateus do Maranhao",
"infCTe": [
{"chCTe": "35240303007331007235570010148340481757135762"}]
},
{
"cMunDescarga": "2112100",
"xMunDescarga": "Timbiras",
"infCTe": [
{"chCTe": "35240303007331004996571570312441421052558614"}]
},
{
"cMunDescarga": "2113009",
"xMunDescarga": "Vitorino Freire",
"infCTe": [
{"chCTe": "41240303007331016064571570079978701693286581"}]
}
]
},
"seg": [
{
"infResp": {
"respSeg": 1,
"CNPJ": "31432785000103"
},
"infSeg": {
"xSeg": "SUPRO SEGUROS",
"CNPJ": "00621444000144"
},
"nApol": "0004564",
"nAver": [
"1"
]
}
],
"prodPred":
{
"tpCarga": "05",
"xProd": "Diversos"
},
"tot":
{
"qCTe": 26,
"vCarga": 1315.58,
"cUnid": "01",
"qCarga": 58.8690
},
"infRespTec":
{
"CNPJ": "19841942000120",
"xContato": "Wellington Carlos Santana Leite ME",
"email": "w295416@hotmail.com",
"fone": "81997151268"
},
"ambiente": "homologacao",
"referencia": ""
}