Operaciones

Agenda

Agenda consolidada de una ventana de fechas.

Esquemas: ScheduleDto

Ejemplo

{
  "projects": [
    {
      "id": "id_8f2a1c",
      "name": "Example",
      "startDate": "2026-09-01T08:00:00Z",
      "endDate": "2026-09-01T08:00:00Z",
      "status": "string"
    }
  ],
  "orders": [
    {
      "id": "id_8f2a1c",
      "orderNumber": "string",
      "startDate": "2026-09-01T08:00:00Z",
      "endDate": "2026-09-01T08:00:00Z",
      "status": "string",
      "contactName": "Example",
      "projectName": "Example"
    }
  ],
  "tasks": [
    {
      "id": "id_8f2a1c",
      "title": "Example",
      "startDate": "2026-09-01T08:00:00Z",
      "endDate": "2026-09-01T08:00:00Z",
      "isAllDay": true,
      "isCompleted": true,
      "type": "string",
      "projectId": "string",
      "assignedStaff": [
        {
          "id": "id_8f2a1c",
          "fullName": "Example"
        }
      ]
    }
  ],
  "internalServices": [
    {
      "id": "id_8f2a1c",
      "title": "Example",
      "serviceType": "string",
      "startDate": "2026-09-01T08:00:00Z",
      "endDate": "2026-09-01T08:00:00Z",
      "projectName": "Example",
      "qty": 1,
      "assignedStaff": [
        {
          "id": "id_8f2a1c",
          "fullName": "Example"
        }
      ],
      "assignedVehicleIds": [
        "string"
      ]
    }
  ],
  "orderServices": [
    {
      "orderId": "string",
      "orderNumber": "string",
      "serviceName": "Example",
      "serviceType": "string",
      "startDate": "2026-09-01T08:00:00Z",
      "endDate": "2026-09-01T08:00:00Z",
      "contactName": "Example",
      "projectName": "Example",
      "qty": 1,
      "assignedCount": 1,
      "assignedStaff": [
        {
          "id": "id_8f2a1c",
          "fullName": "Example"
        }
      ]
    }
  ]
}

Generado a partir del esquema

La agenda consolidada de una ventana de fechas: proyectos, pedidos, tareas, servicios internos y servicios de pedido. Es de solo lectura y es una proyección de esas entidades, no un recurso que se escribe. Está acotada por fechas y no pagina. Los asignados salen por identificador y nombre, sin datos de contacto. Léela con GET /api/v1/schedule.

Atributos

projectsobject[]

Proyectos que caen dentro de la ventana.

Mostrar atributos hijos
projects.idstring

projects.namestring

projects.startDatestring<date-time>

projects.endDatestring<date-time>

projects.statusstring

ordersobject[]

Pedidos que caen dentro de la ventana.

Mostrar atributos hijos
orders.idstring

orders.orderNumberstring

orders.startDatestring<date-time>

orders.endDatestring<date-time>

orders.statusstring

orders.contactNamestring | null

orders.projectNamestring | null

tasksobject[]

Tareas del planificador. Sin los datos de contacto de las personas a las que están asignadas.

Mostrar atributos hijos
tasks.idstring

tasks.titlestring

tasks.startDatestring<date-time> | null

tasks.endDatestring<date-time> | null

tasks.isAllDayboolean

tasks.isCompletedboolean

tasks.typestring | null

tasks.projectIdstring | null

tasks.assignedStaffobject[]

Mostrar atributos hijos
tasks.assignedStaff.idstring

Identificador del miembro del personal.

tasks.assignedStaff.fullNamestring

Nombre que se muestra en la agenda.

internalServicesobject[]

Asignaciones no vinculadas a un pedido.

Mostrar atributos hijos
internalServices.idstring

internalServices.titlestring

internalServices.serviceTypestring

internalServices.startDatestring<date-time>

internalServices.endDatestring<date-time>

internalServices.projectNamestring | null

internalServices.qtynumber

internalServices.assignedStaffobject[]

Mostrar atributos hijos
internalServices.assignedStaff.idstring

Identificador del miembro del personal.

internalServices.assignedStaff.fullNamestring

Nombre que se muestra en la agenda.

internalServices.assignedVehicleIdsstring[]

orderServicesobject[]

Servicios de personal y de flota asociados a un pedido.

Mostrar atributos hijos
orderServices.orderIdstring

orderServices.orderNumberstring

orderServices.serviceNamestring

orderServices.serviceTypestring

orderServices.startDatestring<date-time>

orderServices.endDatestring<date-time>

orderServices.contactNamestring | null

orderServices.projectNamestring | null

orderServices.qtynumber

orderServices.assignedCountnumber

orderServices.assignedStaffobject[]

Mostrar atributos hijos
orderServices.assignedStaff.idstring

Identificador del miembro del personal.

orderServices.assignedStaff.fullNamestring

Nombre que se muestra en la agenda.

Lo devuelven

Lo modifican

Ninguna operación.

¿Te ha resultado útil esta página?