GET /v3/consultas/{adminmail}/{sid}
Consulta.
Request
Path parameters
Name | Type | Constraints | Descripción |
---|---|---|---|
adminMail | string (email) |
Required |
Email operador administrador de la agencia |
sid | string |
Required |
Id consulta |
Responses
HTTP-StatusCode 200
OK
{ "Momento": "2025-01-09T15:52:55.5459886+00:00", "OrigenLead": "form", "TipoAnuncio": "publicacion", "Auto": { "ExternalId": "ACD76543", "RefStock": null, "Marca": "Ford", "Modelo": "T", "Version": "Touring", "VersionYear": 1912, "Kilometraje": 356000, "Color": "Rojo", "BodyType": "Coupe", "Estado": "usado", "Precio": { "Moneda": "USD", "Importe": 800 }, "Anticipo": null, "Cuota": null }, "Interesado": { "Interes": "compra", "Nombre": "Francisco", "Apellido": "Garcia", "Email": "fragarcia@xmail.com", "Telefono": null, "DocIdentidad": null, "Provincia": "Modena", "Ciudad": null, "Comentario": "Me interesa esta publicación.", "InfoOperacion": { "EntregaVehiculo": { "Marca": "Ford", "Modelo": "A", "VersionYear": null }, "FinanciacionDeseada": { "Adelanto": null, "Cuota": { "Moneda": "USD", "Importe": 150 } }, "QuiereCotizacionSeguro": null } }, "OperadorResponsable": "franco@superautos.com", "_links": { "rel1": { "href": "/v3/consultas/somevalue" } } }
{ "href": "/v3/consultas/somevalue", "title": "mariobianchi@xmail.com - Ford T - ACD12345" }
HTTP-StatusCode 400
{ "Errors": { "_": [ "entry problem1", "entry problem2" ], "property1": [ "problem 1" ] }, "Type": "https://httpstatuses.com/400", "Title": "Validación de información esperada fallida", "Status": 400, "Detail": "Alguna información contiene valores no validos.", "Instance": "/v3/somewhere", "Extensions": {} }
HTTP-StatusCode 404
Para tu app, no existe la agencia o no existe la consulta.