PlantScanner
HomeSobre a PlantScanner
HomeSobre a PlantScanner
  1. Histórico de Ordens
  • Developers
  • O que são as propriedades?
  • SKUs e Insumos
    • SKUs e Insumos
    • Gets all materials.
      GET
    • Synchronize materials batch between customer ERP and PlantScanner bases.
      POST
  • Ordens de Produção
    • Ordens de Produção ( Ordens de Trabalho )
    • Gets work orders that have been planned or executed between the specified dates or by the work order code.
      GET
    • Gets work orders that with production details
      GET
    • Synchronize work orders batch between customer ERP and PlantScanner bases.
      POST
    • Synchronize work orders batch current execution.
      POST
    • Synchronize work order properties data
      POST
    • Synchronize work orders batch planning dates.
      POST
  • Estoque
    • Estoque
    • Synchronize materials inventories between customer ERP and PlantScanner bases.
      POST
  • Alertas de Produção
    • Alertas de Produção
    • Synchronize work orders batch between customer ERP and PlantScanner bases.
      GET
  • Tempos de Mão de Obra
    • Tempos de Mão de Obra
    • Get employee logged hours with work order info if one was in execution.
      GET
  • Inspeções de Qualidade
    • Inspeções de Qualidade
    • Gets inspections that have been planned or executed between the specified dates or by the work order code.
      GET
    • Synchronize inspections batch between customer ERP and PlantScanner bases.
      POST
    • Synchronize inspections batch current execution.
      POST
    • Synchronize work order properties data
      POST
  • Processos de Inspeção
    • Processos de Inspeção
    • Gets all inspections processes
    • Synchronize inspection processes batch between customer ERP and PlantScanner bases.
  • Listas de Qualidade
    • Listas de Qualidade
    • Gets work orders checks that have been planned or executed between the specified dates or by the work order code.
  • Lotes Consumidos
    • Lotes Consumidos
    • Synchronize work orders batch between customer ERP and PlantScanner bases.
    • Sync consumed raw material quantity based on updated quantity in work order.
  • Histórico de Ordens
    • Synchronize work orders batch between customer ERP and PlantScanner bases.
      GET
  • Estações de Trabalho
    • Estações de Trabalho
    • Gets work stations with shifts and area.
  1. Histórico de Ordens

Synchronize work orders batch between customer ERP and PlantScanner bases.

GET
/api/v1/WorkOrdersHistory
WorkOrdersHistory
Request Request Example
Shell
JavaScript
Java
Swift
curl --location --request GET 'https://api.plantscanner.io/api/v1/WorkOrdersHistory'
Response Response Example
200 - Exemplo 1
{
    "workOrdersHistory": [
        {
            "id": 0,
            "code": "string",
            "workOrderGrouper": "string",
            "materialCode": "string",
            "materialGroup": "string",
            "operationCode": "string",
            "materialDescription": "string",
            "requestedQuantity": 0,
            "uoM": "string",
            "type": "ReadyToExecute",
            "customer": "string",
            "promiseDate": "2019-08-24T14:15:22Z",
            "note": "string",
            "status": "Undefined",
            "statusDescription": "string",
            "workStation": {
                "code": "string"
            },
            "beginPlanned": "2019-08-24T14:15:22Z",
            "endPlanned": "2019-08-24T14:15:22Z",
            "beginExecution": "2019-08-24T14:15:22Z",
            "beginEmployee": {
                "registration": "string"
            },
            "endExecution": "2019-08-24T14:15:22Z",
            "endEmployee": {
                "registration": "string"
            },
            "producedGoodQuantity": 0,
            "producedBadQuantity": 0,
            "lastUpdate": "2019-08-24T14:15:22Z",
            "properties": [
                {
                    "key": "string",
                    "value": "string",
                    "name": "string",
                    "isLocked": true
                }
            ],
            "runtime": [
                {
                    "begin": "2019-08-24T14:15:22Z",
                    "beginEmployee": {
                        "registration": "string"
                    },
                    "endEmployee": {
                        "registration": "string"
                    },
                    "end": "2019-08-24T14:15:22Z",
                    "status": 0,
                    "statusDescription": "string",
                    "note": "string"
                }
            ],
            "planningHistory": [
                {
                    "begin": "2019-08-24T14:15:22Z",
                    "end": "2019-08-24T14:15:22Z",
                    "lastUpdate": "2019-08-24T14:15:22Z"
                }
            ]
        }
    ]
}

Requisição

Authorization
Adicionar o parâmetro
Authorization
a Cabeçalhos
, cujo valor é concatenar o Token após o Bearer.
Exemplo:
Authorization: Bearer ********************
Parâmetros Query
Code
string 
opcional
OperationCode
string 
opcional
LastUpdatedBegin
string <date-time>
opcional
LastUpdatedEnd
string <date-time>
opcional

Respostas

🟢200OK
application/json
work orders in defined interval
Body
workOrdersHistory
array[object (PlantScanner.API.Application.Boundaries.GetWorkOrdersHistory_ResultWorkOrderHistory) {28}] 
opcional
id
integer <int32>
opcional
code
string 
opcional
workOrderGrouper
string 
opcional
materialCode
string 
opcional
materialGroup
string 
opcional
operationCode
string 
opcional
materialDescription
string 
opcional
requestedQuantity
number <double>
opcional
uoM
string 
opcional
type
enum<string> 
opcional
Valores permitidos:
ReadyToExecuteWaitingForMaterialsReservation
customer
string 
opcional
promiseDate
string <date-time>
opcional
note
string 
opcional
status
enum<string> 
opcional
Valores permitidos:
UndefinedReadyToScheduleExecutionPlannedInExecutionExecutedPaused
statusDescription
string 
opcional
workStation
object (PlantScanner.API.Application.Boundaries.GetWorkOrdersHistory_ResultWorkStation) 
opcional
beginPlanned
string <date-time>
opcional
endPlanned
string <date-time>
opcional
beginExecution
string <date-time>
opcional
beginEmployee
object (PlantScanner.API.Application.Boundaries.GetWorkOrdersHistory_ResultEmployee) 
opcional
endExecution
string <date-time>
opcional
endEmployee
object (PlantScanner.API.Application.Boundaries.GetWorkOrdersHistory_ResultEmployee) 
opcional
producedGoodQuantity
number <double>
opcional
producedBadQuantity
number <double>
opcional
lastUpdate
string <date-time>
opcional
properties
array[object (PlantScanner.Domain.Model_WorkOrderProperties) {4}] 
opcional
runtime
array[object (PlantScanner.API.Application.Boundaries.GetWorkOrdersHistory_ResultWorkOrderRuntime) {7}] 
opcional
planningHistory
array[object (PlantScanner.API.Application.Boundaries.GetWorkOrdersHistory_ResultWorkOrderPlanningHistory) {3}] 
opcional
🟠412412
🟠429429
🔴500Erro do servidor
Página anterior
Sync consumed raw material quantity based on updated quantity in work order.
Próxima página
Estações de Trabalho
Built with