GET API/AgendServConsulta/CancelarAgendamento?agendServId={agendServId}

Cancelar o agendamento

Request Information

URI Parameters

NameDescriptionTypeAdditional information
agendServId

decimal number

Required

Body Parameters

None.

Response Information

Resource Description

WilsonSons.Terminais.WSNegocio.Negocio.Core.AgendServ+Result
NameDescriptionTypeAdditional information
Sucesso

boolean

None.

Mensagem

string

None.

Mensagens

Collection of string

None.

AgendServ

WilsonSons.Terminais.WSNegocio.Modelo.ScAgendServ

None.

ListaAgend

Collection of WilsonSons.Terminais.WSNegocio.Modelo.VwAgendServ

None.

BlCntr

WilsonSons.Terminais.WSNegocio.Modelo.VwAgendServBlCntr

None.

ListItem

Collection of WilsonSons.Terminais.WSNegocio.Modelo.ScAgendServItem

None.

ListItemNotaFiscal

Collection of WilsonSons.Terminais.WSNegocio.Modelo.ScAgendServItemNf

None.

ListItemMerc

Collection of WilsonSons.Terminais.WSNegocio.Modelo.ScAgendServItemMerc

None.

DesistiuVistoria

boolean

None.

DivergenciaLacre

boolean

None.

ListaAnexo

Collection of WilsonSons.Terminais.WSNegocio.Modelo.ScAgendServAnex

None.

Response Formats

application/json, text/json

Sample:
{
  "Sucesso": true,
  "Mensagem": "sample string 2",
  "Mensagens": [
    "sample string 1",
    "sample string 2"
  ],
  "AgendServ": {
    "Id": 1.0,
    "TranspId": 1.0,
    "AgendTipoServId": 2.0,
    "IndStatus": "sample string 3",
    "DatAgend": "2025-06-06T21:03:19.9142457-03:00",
    "HoraAgend": 1.0,
    "Cnh": 1.0,
    "PlacaCavalo": "sample string 4",
    "PlacaCarret1": "sample string 5",
    "PlacaCarret2": "sample string 6",
    "MembershipuseridIncl": 1.0,
    "DatIncl": "2025-06-06T21:03:19.9142457-03:00",
    "CdLoc": "sample string 7",
    "DatUsuAlt": "2025-06-06T21:03:19.9142457-03:00",
    "UsuAlt": 1.0,
    "AnaliCritId": 1.0,
    "BlId": 1.0,
    "NumBooking": "sample string 8",
    "ParcIdCobrar": 1.0,
    "EstabIdCobrar": 1.0,
    "ParcIdDespa": 1.0,
    "EstabIdDespa": 1.0,
    "FlgComboio": "sample string 9",
    "EadiId": 1.0,
    "DscObs": "sample string 10",
    "IndStatusOsGerad": "sample string 11",
    "DiasFreetime": 1.0,
    "IndVeic": "sample string 12",
    "DatFimPrev": "2025-06-06T21:03:19.9142457-03:00",
    "MembershipuseridInclTecon": 1.0,
    "MercId": 1.0,
    "FlgCancOsNoShow": "sample string 13",
    "EhClienteEstrangeiro": true,
    "EhCobrarDeEstrangeiro": true,
    "DataHoraAgendFormat": "sample string 16",
    "DesistiuVistoria": true,
    "RefTipoServ": "sample string 18",
    "DscTipoServ": "sample string 19",
    "DscGrupo": "sample string 20",
    "CnpjCobrar": "sample string 21",
    "CnpjDespa": "sample string 22",
    "RazaoSocialCobrar": "sample string 23",
    "RazaoSocialDespa": "sample string 24",
    "NumeroBl": "sample string 25"
  },
  "ListaAgend": null,
  "BlCntr": {
    "HstmvId": 1.0,
    "BlId": 2.0,
    "CodCntr": "sample string 3"
  },
  "ListItem": [
    {
      "Id": 1.0,
      "AgendServId": 2.0,
      "IndStatus": "sample string 3",
      "UnitId": 1.0,
      "Volumes": 1.0,
      "CodCntr": "sample string 4",
      "IndExcluido": "sample string 5",
      "Excluir": true,
      "NotasFiscais": null
    },
    {
      "Id": 1.0,
      "AgendServId": 2.0,
      "IndStatus": "sample string 3",
      "UnitId": 1.0,
      "Volumes": 1.0,
      "CodCntr": "sample string 4",
      "IndExcluido": "sample string 5",
      "Excluir": true,
      "NotasFiscais": null
    }
  ],
  "ListItemNotaFiscal": [
    {
      "Id": 1.0,
      "AgendServItemId": 2.0,
      "ProtocoloInfDocId": 3.0,
      "QtdVolume": 4.0,
      "Excluir": true,
      "NumeroNota": 1.0
    },
    {
      "Id": 1.0,
      "AgendServItemId": 2.0,
      "ProtocoloInfDocId": 3.0,
      "QtdVolume": 4.0,
      "Excluir": true,
      "NumeroNota": 1.0
    }
  ],
  "ListItemMerc": [
    {
      "Id": 1.0,
      "AgendServItemId": 1.0,
      "AgendServId": 2.0,
      "MercId": 1.0,
      "Excluir": true
    },
    {
      "Id": 1.0,
      "AgendServItemId": 1.0,
      "AgendServId": 2.0,
      "MercId": 1.0,
      "Excluir": true
    }
  ],
  "DesistiuVistoria": true,
  "DivergenciaLacre": true,
  "ListaAnexo": null
}

application/xml, text/xml

Sample:
<AgendServ.Result xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/WilsonSons.Terminais.WSNegocio.Negocio.Core">
  <AgendServ xmlns:d2p1="http://schemas.datacontract.org/2004/07/WilsonSons.Terminais.WSNegocio.Modelo">
    <Id xmlns:d3p1="http://www.w3.org/2001/XMLSchema" i:type="d3p1:decimal" xmlns="">1</Id>
    <TranspId xmlns:d3p1="http://www.w3.org/2001/XMLSchema" i:type="d3p1:decimal" xmlns="">1</TranspId>
    <AgendTipoServId xmlns:d3p1="http://www.w3.org/2001/XMLSchema" i:type="d3p1:decimal" xmlns="">2</AgendTipoServId>
    <IndStatus xmlns:d3p1="http://www.w3.org/2001/XMLSchema" i:type="d3p1:string" xmlns="">sample string 3</IndStatus>
    <DatAgend xmlns:d3p1="http://www.w3.org/2001/XMLSchema" i:type="d3p1:dateTime" xmlns="">2025-06-06T21:03:19.9142457-03:00</DatAgend>
    <HoraAgend xmlns:d3p1="http://www.w3.org/2001/XMLSchema" i:type="d3p1:decimal" xmlns="">1</HoraAgend>
    <Cnh xmlns:d3p1="http://www.w3.org/2001/XMLSchema" i:type="d3p1:decimal" xmlns="">1</Cnh>
    <PlacaCavalo xmlns:d3p1="http://www.w3.org/2001/XMLSchema" i:type="d3p1:string" xmlns="">sample string 4</PlacaCavalo>
    <PlacaCarret1 xmlns:d3p1="http://www.w3.org/2001/XMLSchema" i:type="d3p1:string" xmlns="">sample string 5</PlacaCarret1>
    <PlacaCarret2 xmlns:d3p1="http://www.w3.org/2001/XMLSchema" i:type="d3p1:string" xmlns="">sample string 6</PlacaCarret2>
    <MembershipuseridIncl xmlns:d3p1="http://www.w3.org/2001/XMLSchema" i:type="d3p1:decimal" xmlns="">1</MembershipuseridIncl>
    <DatIncl xmlns:d3p1="http://www.w3.org/2001/XMLSchema" i:type="d3p1:dateTime" xmlns="">2025-06-06T21:03:19.9142457-03:00</DatIncl>
    <CdLoc xmlns:d3p1="http://www.w3.org/2001/XMLSchema" i:type="d3p1:string" xmlns="">sample string 7</CdLoc>
    <DatUsuAlt xmlns:d3p1="http://www.w3.org/2001/XMLSchema" i:type="d3p1:dateTime" xmlns="">2025-06-06T21:03:19.9142457-03:00</DatUsuAlt>
    <UsuAlt xmlns:d3p1="http://www.w3.org/2001/XMLSchema" i:type="d3p1:decimal" xmlns="">1</UsuAlt>
    <AnaliCritId xmlns:d3p1="http://www.w3.org/2001/XMLSchema" i:type="d3p1:decimal" xmlns="">1</AnaliCritId>
    <BlId xmlns:d3p1="http://www.w3.org/2001/XMLSchema" i:type="d3p1:decimal" xmlns="">1</BlId>
    <NumBooking xmlns:d3p1="http://www.w3.org/2001/XMLSchema" i:type="d3p1:string" xmlns="">sample string 8</NumBooking>
    <ParcIdCobrar xmlns:d3p1="http://www.w3.org/2001/XMLSchema" i:type="d3p1:decimal" xmlns="">1</ParcIdCobrar>
    <EstabIdCobrar xmlns:d3p1="http://www.w3.org/2001/XMLSchema" i:type="d3p1:decimal" xmlns="">1</EstabIdCobrar>
    <ParcIdDespa xmlns:d3p1="http://www.w3.org/2001/XMLSchema" i:type="d3p1:decimal" xmlns="">1</ParcIdDespa>
    <EstabIdDespa xmlns:d3p1="http://www.w3.org/2001/XMLSchema" i:type="d3p1:decimal" xmlns="">1</EstabIdDespa>
    <FlgComboio xmlns:d3p1="http://www.w3.org/2001/XMLSchema" i:type="d3p1:string" xmlns="">sample string 9</FlgComboio>
    <EadiId xmlns:d3p1="http://www.w3.org/2001/XMLSchema" i:type="d3p1:decimal" xmlns="">1</EadiId>
    <DscObs xmlns:d3p1="http://www.w3.org/2001/XMLSchema" i:type="d3p1:string" xmlns="">sample string 10</DscObs>
    <IndStatusOsGerad xmlns:d3p1="http://www.w3.org/2001/XMLSchema" i:type="d3p1:string" xmlns="">sample string 11</IndStatusOsGerad>
    <DiasFreetime xmlns:d3p1="http://www.w3.org/2001/XMLSchema" i:type="d3p1:decimal" xmlns="">1</DiasFreetime>
    <IndVeic xmlns:d3p1="http://www.w3.org/2001/XMLSchema" i:type="d3p1:string" xmlns="">sample string 12</IndVeic>
    <DatFimPrev xmlns:d3p1="http://www.w3.org/2001/XMLSchema" i:type="d3p1:dateTime" xmlns="">2025-06-06T21:03:19.9142457-03:00</DatFimPrev>
    <MembershipuseridInclTecon xmlns:d3p1="http://www.w3.org/2001/XMLSchema" i:type="d3p1:decimal" xmlns="">1</MembershipuseridInclTecon>
    <MercId xmlns:d3p1="http://www.w3.org/2001/XMLSchema" i:type="d3p1:decimal" xmlns="">1</MercId>
    <FlgCancOsNoShow xmlns:d3p1="http://www.w3.org/2001/XMLSchema" i:type="d3p1:string" xmlns="">sample string 13</FlgCancOsNoShow>
    <EhClienteEstrangeiro xmlns:d3p1="http://www.w3.org/2001/XMLSchema" i:type="d3p1:boolean" xmlns="">true</EhClienteEstrangeiro>
    <EhCobrarDeEstrangeiro xmlns:d3p1="http://www.w3.org/2001/XMLSchema" i:type="d3p1:boolean" xmlns="">true</EhCobrarDeEstrangeiro>
    <DataHoraAgendFormat xmlns:d3p1="http://www.w3.org/2001/XMLSchema" i:type="d3p1:string" xmlns="">sample string 16</DataHoraAgendFormat>
    <DesistiuVistoria xmlns:d3p1="http://www.w3.org/2001/XMLSchema" i:type="d3p1:boolean" xmlns="">true</DesistiuVistoria>
    <RefTipoServ xmlns:d3p1="http://www.w3.org/2001/XMLSchema" i:type="d3p1:string" xmlns="">sample string 18</RefTipoServ>
    <DscTipoServ xmlns:d3p1="http://www.w3.org/2001/XMLSchema" i:type="d3p1:string" xmlns="">sample string 19</DscTipoServ>
    <DscGrupo xmlns:d3p1="http://www.w3.org/2001/XMLSchema" i:type="d3p1:string" xmlns="">sample string 20</DscGrupo>
    <CnpjCobrar xmlns:d3p1="http://www.w3.org/2001/XMLSchema" i:type="d3p1:string" xmlns="">sample string 21</CnpjCobrar>
    <CnpjDespa xmlns:d3p1="http://www.w3.org/2001/XMLSchema" i:type="d3p1:string" xmlns="">sample string 22</CnpjDespa>
    <RazaoSocialCobrar xmlns:d3p1="http://www.w3.org/2001/XMLSchema" i:type="d3p1:string" xmlns="">sample string 23</RazaoSocialCobrar>
    <RazaoSocialDespa xmlns:d3p1="http://www.w3.org/2001/XMLSchema" i:type="d3p1:string" xmlns="">sample string 24</RazaoSocialDespa>
    <NumeroBl xmlns:d3p1="http://www.w3.org/2001/XMLSchema" i:type="d3p1:string" xmlns="">sample string 25</NumeroBl>
  </AgendServ>
  <BlCntr xmlns:d2p1="http://schemas.datacontract.org/2004/07/WilsonSons.Terminais.WSNegocio.Modelo">
    <HstmvId xmlns:d3p1="http://www.w3.org/2001/XMLSchema" i:type="d3p1:decimal" xmlns="">1</HstmvId>
    <BlId xmlns:d3p1="http://www.w3.org/2001/XMLSchema" i:type="d3p1:decimal" xmlns="">2</BlId>
    <CodCntr xmlns:d3p1="http://www.w3.org/2001/XMLSchema" i:type="d3p1:string" xmlns="">sample string 3</CodCntr>
  </BlCntr>
  <DesistiuVistoria>true</DesistiuVistoria>
  <DivergenciaLacre>true</DivergenciaLacre>
  <ListItem xmlns:d2p1="http://schemas.datacontract.org/2004/07/WilsonSons.Terminais.WSNegocio.Modelo">
    <d2p1:ScAgendServItem>
      <Id xmlns:d4p1="http://www.w3.org/2001/XMLSchema" i:type="d4p1:decimal" xmlns="">1</Id>
      <AgendServId xmlns:d4p1="http://www.w3.org/2001/XMLSchema" i:type="d4p1:decimal" xmlns="">2</AgendServId>
      <IndStatus xmlns:d4p1="http://www.w3.org/2001/XMLSchema" i:type="d4p1:string" xmlns="">sample string 3</IndStatus>
      <UnitId xmlns:d4p1="http://www.w3.org/2001/XMLSchema" i:type="d4p1:decimal" xmlns="">1</UnitId>
      <Volumes xmlns:d4p1="http://www.w3.org/2001/XMLSchema" i:type="d4p1:decimal" xmlns="">1</Volumes>
      <CodCntr xmlns:d4p1="http://www.w3.org/2001/XMLSchema" i:type="d4p1:string" xmlns="">sample string 4</CodCntr>
      <IndExcluido xmlns:d4p1="http://www.w3.org/2001/XMLSchema" i:type="d4p1:string" xmlns="">sample string 5</IndExcluido>
      <Excluir xmlns:d4p1="http://www.w3.org/2001/XMLSchema" i:type="d4p1:boolean" xmlns="">true</Excluir>
      <NotasFiscais i:nil="true" xmlns="" />
    </d2p1:ScAgendServItem>
    <d2p1:ScAgendServItem>
      <Id xmlns:d4p1="http://www.w3.org/2001/XMLSchema" i:type="d4p1:decimal" xmlns="">1</Id>
      <AgendServId xmlns:d4p1="http://www.w3.org/2001/XMLSchema" i:type="d4p1:decimal" xmlns="">2</AgendServId>
      <IndStatus xmlns:d4p1="http://www.w3.org/2001/XMLSchema" i:type="d4p1:string" xmlns="">sample string 3</IndStatus>
      <UnitId xmlns:d4p1="http://www.w3.org/2001/XMLSchema" i:type="d4p1:decimal" xmlns="">1</UnitId>
      <Volumes xmlns:d4p1="http://www.w3.org/2001/XMLSchema" i:type="d4p1:decimal" xmlns="">1</Volumes>
      <CodCntr xmlns:d4p1="http://www.w3.org/2001/XMLSchema" i:type="d4p1:string" xmlns="">sample string 4</CodCntr>
      <IndExcluido xmlns:d4p1="http://www.w3.org/2001/XMLSchema" i:type="d4p1:string" xmlns="">sample string 5</IndExcluido>
      <Excluir xmlns:d4p1="http://www.w3.org/2001/XMLSchema" i:type="d4p1:boolean" xmlns="">true</Excluir>
      <NotasFiscais i:nil="true" xmlns="" />
    </d2p1:ScAgendServItem>
  </ListItem>
  <ListItemMerc xmlns:d2p1="http://schemas.datacontract.org/2004/07/WilsonSons.Terminais.WSNegocio.Modelo">
    <d2p1:ScAgendServItemMerc>
      <Id xmlns:d4p1="http://www.w3.org/2001/XMLSchema" i:type="d4p1:decimal" xmlns="">1</Id>
      <AgendServItemId xmlns:d4p1="http://www.w3.org/2001/XMLSchema" i:type="d4p1:decimal" xmlns="">1</AgendServItemId>
      <AgendServId xmlns:d4p1="http://www.w3.org/2001/XMLSchema" i:type="d4p1:decimal" xmlns="">2</AgendServId>
      <MercId xmlns:d4p1="http://www.w3.org/2001/XMLSchema" i:type="d4p1:decimal" xmlns="">1</MercId>
      <Excluir xmlns:d4p1="http://www.w3.org/2001/XMLSchema" i:type="d4p1:boolean" xmlns="">true</Excluir>
    </d2p1:ScAgendServItemMerc>
    <d2p1:ScAgendServItemMerc>
      <Id xmlns:d4p1="http://www.w3.org/2001/XMLSchema" i:type="d4p1:decimal" xmlns="">1</Id>
      <AgendServItemId xmlns:d4p1="http://www.w3.org/2001/XMLSchema" i:type="d4p1:decimal" xmlns="">1</AgendServItemId>
      <AgendServId xmlns:d4p1="http://www.w3.org/2001/XMLSchema" i:type="d4p1:decimal" xmlns="">2</AgendServId>
      <MercId xmlns:d4p1="http://www.w3.org/2001/XMLSchema" i:type="d4p1:decimal" xmlns="">1</MercId>
      <Excluir xmlns:d4p1="http://www.w3.org/2001/XMLSchema" i:type="d4p1:boolean" xmlns="">true</Excluir>
    </d2p1:ScAgendServItemMerc>
  </ListItemMerc>
  <ListItemNotaFiscal xmlns:d2p1="http://schemas.datacontract.org/2004/07/WilsonSons.Terminais.WSNegocio.Modelo">
    <d2p1:ScAgendServItemNf>
      <Id xmlns:d4p1="http://www.w3.org/2001/XMLSchema" i:type="d4p1:decimal" xmlns="">1</Id>
      <AgendServItemId xmlns:d4p1="http://www.w3.org/2001/XMLSchema" i:type="d4p1:decimal" xmlns="">2</AgendServItemId>
      <ProtocoloInfDocId xmlns:d4p1="http://www.w3.org/2001/XMLSchema" i:type="d4p1:decimal" xmlns="">3</ProtocoloInfDocId>
      <QtdVolume xmlns:d4p1="http://www.w3.org/2001/XMLSchema" i:type="d4p1:decimal" xmlns="">4</QtdVolume>
      <Excluir xmlns:d4p1="http://www.w3.org/2001/XMLSchema" i:type="d4p1:boolean" xmlns="">true</Excluir>
      <NumeroNota xmlns:d4p1="http://www.w3.org/2001/XMLSchema" i:type="d4p1:decimal" xmlns="">1</NumeroNota>
    </d2p1:ScAgendServItemNf>
    <d2p1:ScAgendServItemNf>
      <Id xmlns:d4p1="http://www.w3.org/2001/XMLSchema" i:type="d4p1:decimal" xmlns="">1</Id>
      <AgendServItemId xmlns:d4p1="http://www.w3.org/2001/XMLSchema" i:type="d4p1:decimal" xmlns="">2</AgendServItemId>
      <ProtocoloInfDocId xmlns:d4p1="http://www.w3.org/2001/XMLSchema" i:type="d4p1:decimal" xmlns="">3</ProtocoloInfDocId>
      <QtdVolume xmlns:d4p1="http://www.w3.org/2001/XMLSchema" i:type="d4p1:decimal" xmlns="">4</QtdVolume>
      <Excluir xmlns:d4p1="http://www.w3.org/2001/XMLSchema" i:type="d4p1:boolean" xmlns="">true</Excluir>
      <NumeroNota xmlns:d4p1="http://www.w3.org/2001/XMLSchema" i:type="d4p1:decimal" xmlns="">1</NumeroNota>
    </d2p1:ScAgendServItemNf>
  </ListItemNotaFiscal>
  <ListaAgend xmlns:d2p1="http://schemas.datacontract.org/2004/07/WilsonSons.Terminais.WSNegocio.Modelo" i:nil="true" />
  <ListaAnexo xmlns:d2p1="http://schemas.datacontract.org/2004/07/WilsonSons.Terminais.WSNegocio.Modelo" i:nil="true" />
  <Mensagem>sample string 2</Mensagem>
  <Mensagens xmlns:d2p1="http://schemas.microsoft.com/2003/10/Serialization/Arrays">
    <d2p1:string>sample string 1</d2p1:string>
    <d2p1:string>sample string 2</d2p1:string>
  </Mensagens>
  <Sucesso>true</Sucesso>
</AgendServ.Result>