PlantScanner
HomeSobre a PlantScanner
HomeSobre a PlantScanner
  1. Estações de Trabalho
  • 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.
  • Estações de Trabalho
    • Estações de Trabalho
    • Gets work stations with shifts and area.
      GET
  1. Estações de Trabalho

Gets work stations with shifts and area.

GET
/api/v1/WorkStations
WorkStations
Request Request Example
Shell
JavaScript
Java
Swift
curl --location --request GET 'https://api.plantscanner.io/api/v1/WorkStations'
Response Response Example
200 - Exemplo 1
{
    "workStations": [
        {
            "id": 0,
            "code": "string",
            "description": "string",
            "shortName": "string",
            "area": {
                "description": "string",
                "shortName": "string"
            },
            "currentShift": {
                "lastUpdate": "2019-08-24T14:15:22Z",
                "description": "string",
                "shortName": "string",
                "intervals": [
                    {
                        "start": {
                            "ticks": 0,
                            "days": 0,
                            "hours": 0,
                            "milliseconds": 0,
                            "minutes": 0,
                            "seconds": 0,
                            "totalDays": 0,
                            "totalHours": 0,
                            "totalMilliseconds": 0,
                            "totalMinutes": 0,
                            "totalSeconds": 0
                        },
                        "end": {
                            "ticks": 0,
                            "days": 0,
                            "hours": 0,
                            "milliseconds": 0,
                            "minutes": 0,
                            "seconds": 0,
                            "totalDays": 0,
                            "totalHours": 0,
                            "totalMilliseconds": 0,
                            "totalMinutes": 0,
                            "totalSeconds": 0
                        },
                        "daysOfWeek": [
                            0
                        ]
                    }
                ]
            },
            "shiftsHistory": [
                {
                    "lastUpdate": "2019-08-24T14:15:22Z",
                    "description": "string",
                    "shortName": "string",
                    "intervals": [
                        {
                            "start": {
                                "ticks": 0,
                                "days": 0,
                                "hours": 0,
                                "milliseconds": 0,
                                "minutes": 0,
                                "seconds": 0,
                                "totalDays": 0,
                                "totalHours": 0,
                                "totalMilliseconds": 0,
                                "totalMinutes": 0,
                                "totalSeconds": 0
                            },
                            "end": {
                                "ticks": 0,
                                "days": 0,
                                "hours": 0,
                                "milliseconds": 0,
                                "minutes": 0,
                                "seconds": 0,
                                "totalDays": 0,
                                "totalHours": 0,
                                "totalMilliseconds": 0,
                                "totalMinutes": 0,
                                "totalSeconds": 0
                            },
                            "daysOfWeek": [
                                0
                            ]
                        }
                    ]
                }
            ]
        }
    ]
}

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

Respostas

🟢200OK
application/json
work stations
Body
workStations
array[object (PlantScanner.API.Application.Boundaries.GetWorkStations_ResultWorkStation) {7}] 
opcional
id
integer <int32>
opcional
code
string 
opcional
description
string 
opcional
shortName
string 
opcional
area
object (PlantScanner.API.Application.Boundaries.GetWorkStations_ResultArea) 
opcional
currentShift
object (PlantScanner.API.Application.Boundaries.GetWorkStations_ResultShift) 
opcional
shiftsHistory
array[object (PlantScanner.API.Application.Boundaries.GetWorkStations_ResultShift) {4}] 
opcional
🟠412412
🔴500Erro do servidor
Página anterior
Estações de Trabalho
Built with