Listado Mensajes - Entrega/Servicio
GET/api/delivery/msg/:serviceCode
Mensajes de un servicio
Request
Path Parameters
serviceCode stringrequired
_
Header Parameters
apikey stringrequired
Apikey de una company vinculada a un usuario
Responses
- 200
Listado de los mensajes que se han mantenido entre transportista y compañia para un envío en concreto.
- application/json
- Schema
- Example (from schema)
- example-1
Schema
- Array [
- ]
data object[]
_id string
authorId string
authorName string
createdAt string
message string
status integer
{
"data": [
{
"_id": "string",
"authorId": "string",
"authorName": "string",
"createdAt": "string",
"message": "string"
}
],
"status": 0
}
{
"data": [
{
"_id": "645b78512d4b89b4772ef80e",
"authorId": "6435ad0719bddd15a0cf7b67",
"authorName": "Nombre Apellidos",
"createdAt": "2023-05-10T10:56:17.923Z",
"message": "no"
},
{
"_id": "645b77bcc3e5269681f33fb4",
"authorId": "63d7907cbe76403b35da63df",
"authorName": "User 01 Cia 01",
"createdAt": "2023-05-10T10:53:48.890Z",
"message": "yes"
},
{
"_id": "645b74fe03a1ee0efeaabe0f",
"authorId": "6435ad0719bddd15a0cf7b67",
"authorName": "Nombre Apellidos",
"createdAt": "2023-05-10T10:42:06.794Z",
"message": "new message test"
}
],
"status": 200
}
Loading...