Ein Los anhand seiner Losnummer ermitteln
name | type | description | constraints |
---|---|---|---|
addAdditionalStatus | query | (optional) mit true die Loszusatzstatus mitliefern |
boolean |
addCommentsMedia | query | (optional) mit true die Infos über die Artikelkommentare des Stücklistenartikels liefern.
Es werden dabei aber nur jene Artikelkommentare berücksichtigt, die der Fertigung zugewiesen wurden. |
boolean |
addCustomer | query | (optional) mit true den Kunden dieses Loses ebenfalls liefern |
boolean |
addDeliveredAmount | query | (optional) mit true die abgelieferte Menge liefern |
boolean |
addDocuments | query | (optional) mit true die Infos über die vom angemeldeten Benutzer
sichtbaren Dokumente aus der Dokumentenablage liefern |
boolean |
addPartlistItem | query | (optional) mit true den zugrundeliegenden Artikel der verwendeten Stückliste ebenfalls liefern |
boolean |
addProductionWorksteps | query | (optional) mit true die die Arbeitsgänge des Loses liefern |
boolean |
addTargetMaterials | query | (optional) mit true die Lossollmaterialen mitliefern |
boolean |
addTestPlan | query | (optional) mit true den Losprüfplan des angegebenen Loses mitliefern |
boolean |
addWorksteps | query | (optional) mit true die Arbeitsgänge der Stückliste mitliefern |
boolean |
productionCnr | query | die (optional) Losnummer | |
productionid | query | die (optional) Id des Loses. Ist auch die cnr angegeben, hat die id Priorität | int |
userid | query | ist der beim Logon ermittelte "Token" |
media type | data type | description |
---|---|---|
application/json | ProductionEntry (JSON) | das Los sofern vorhanden. Gibt es das Los nicht wird mit StatusCode NOT_FOUND (404) geantwortet |
application/xml;charset=UTF-8 | object |
GET /api/v1/production
Content-Type: */*
Accept: application/json
...
HTTP/1.1 200 OK
Content-Type: application/json
{
"cnr" : "...",
"amount" : 12345.0,
"orderOrItemCnr" : "...",
"startDateMs" : 12345,
"endDateMs" : 12345,
"project" : "...",
"comment" : "...",
"itemEntry" : {
"cnr" : "...",
"description" : "...",
"description2" : "...",
"name" : "...",
"shortName" : "...",
"stockAmount" : 12345.0,
"costs" : 12345.0,
"billOfMaterialType" : "...",
"available" : true,
"comments" : [ "...", "..." ],
"hidden" : true,
"unitCnr" : "...",
"typeCnr" : "...",
"itemgroupCnr" : "...",
"itemclassCnr" : "...",
"revision" : "...",
"stockAmountInfo" : {
"stockAmount" : 12345.0,
"reservedAmount" : 12345.0,
"missingAmount" : 12345.0,
"availableAmount" : 12345.0
},
"referenceNumber" : "...",
"index" : "...",
"hasSerialnr" : true,
"hasChargenr" : true,
"producerInfoEntry" : {
"producerId" : 12345,
"itemCnr" : "...",
"itemDescription" : "...",
"barcodeLeadIn" : "...",
"hasInfo" : true
},
"packagingEntries" : {
"entries" : [ { }, { } ]
},
"packagingAmount" : 12345.0,
"batchSize" : 12345.0,
"packagingAverageAmount" : 12345.0,
"stockplaceInfoEntries" : {
"entries" : [ { }, { } ]
},
"documentInfoEntries" : {
"entries" : [ { }, { } ]
},
"itemCommentMediaInfoEntries" : {
"entries" : [ { }, { } ]
},
"id" : 12345
},
"customer" : {
"name1" : "...",
"name2" : "...",
"sign" : "...",
"countryCode" : "...",
"zipcode" : "...",
"phone" : "...",
"city" : "...",
"deliveryAllowed" : true,
"classification" : "...",
"addressType" : "...",
"representativeSign" : "...",
"id" : 12345
},
"additionalStatuses" : {
"entries" : [ {
"status" : "...",
"dateMs" : 12345
}, {
"status" : "...",
"dateMs" : 12345
} ]
},
"status" : "EDITED",
"partlistId" : 12345,
"worksteps" : {
"entries" : [ {
"workstepNumber" : 12345,
"setupTimeMs" : 12345,
"jobTimeMs" : 12345,
"comment" : "...",
"itemEntry" : { },
"machineId" : 12345,
"text" : "...",
"workstepType" : "...",
"workplanComment" : "...",
"id" : 12345
}, {
"workstepNumber" : 12345,
"setupTimeMs" : 12345,
"jobTimeMs" : 12345,
"comment" : "...",
"itemEntry" : { },
"machineId" : 12345,
"text" : "...",
"workstepType" : "...",
"workplanComment" : "...",
"id" : 12345
} ]
},
"targetMaterials" : {
"entries" : [ {
"productionId" : 12345,
"amount" : 12345.0,
"unitCnr" : "...",
"position" : "...",
"comment" : "...",
"price" : 12345.0,
"iSort" : 12345,
"itemEntry" : { },
"amountIssued" : 12345.0,
"mountingMethodId" : 12345,
"belatedWithdrawn" : true,
"id" : 12345
}, {
"productionId" : 12345,
"amount" : 12345.0,
"unitCnr" : "...",
"position" : "...",
"comment" : "...",
"price" : 12345.0,
"iSort" : 12345,
"itemEntry" : { },
"amountIssued" : 12345.0,
"mountingMethodId" : 12345,
"belatedWithdrawn" : true,
"id" : 12345
} ]
},
"deliveredAmount" : 12345.0,
"productionWorksteps" : {
"entries" : [ {
"workstepNumber" : 12345,
"setupTimeMs" : 12345,
"jobTimeMs" : 12345,
"comment" : "...",
"itemEntry" : { },
"machineId" : 12345,
"text" : "...",
"workstepType" : "...",
"hasFinished" : true,
"duration" : 12345.0,
"id" : 12345
}, {
"workstepNumber" : 12345,
"setupTimeMs" : 12345,
"jobTimeMs" : 12345,
"comment" : "...",
"itemEntry" : { },
"machineId" : 12345,
"text" : "...",
"workstepType" : "...",
"hasFinished" : true,
"duration" : 12345.0,
"id" : 12345
} ]
},
"targetStockId" : 12345,
"customerName" : "...",
"itemDescription" : "...",
"itemDescription2" : "...",
"documentInfoEntries" : {
"entries" : [ {
"name" : "...",
"filename" : "...",
"size" : 12345,
"cnr" : "..."
}, {
"name" : "...",
"filename" : "...",
"size" : 12345,
"cnr" : "..."
} ]
},
"itemCommentMediaInfoEntries" : {
"entries" : [ {
"mimeType" : "IMAGEJPEG",
"iSort" : 12345,
"commentType" : "...",
"filename" : "...",
"size" : 12345,
"commentTypeDescription" : "...",
"content" : "...",
"id" : 12345
}, {
"mimeType" : "IMAGEPNG",
"iSort" : 12345,
"commentType" : "...",
"filename" : "...",
"size" : 12345,
"commentTypeDescription" : "...",
"content" : "...",
"id" : 12345
} ]
},
"itemCnr" : "...",
"orderCnr" : "...",
"manufactoringPlace" : "...",
"testPlanEntries" : {
"entries" : [ {
"testType" : "DIMENSIONAL_TEST",
"productionId" : 12345,
"sortOrder" : 12345,
"description" : "...",
"comment" : "...",
"id" : 12345
}, {
"testType" : "MULTIPLE_CRIMP_WITHOUT_ISOLATION",
"productionId" : 12345,
"sortOrder" : 12345,
"description" : "...",
"comment" : "...",
"id" : 12345
} ]
},
"id" : 12345
}
Ändert die Losgröße
name | type | description | constraints |
---|---|---|---|
productionCnr | query | ist die (optionale) Losnummer. | |
productionid | query | ist die (optionale) Id des Loses. Ist die Id angegeben, hat sie Vorrang. | int |
productionordersize | query | die neue Losgröße | |
userid | query | ist der beim Logon ermittelte "Token" |
media type | data type | description |
---|---|---|
application/json | number (JSON) | die Id des Loses von welchem die Losgröße geändert wurde |
application/xml | int (XML) |
PUT /api/v1/production/changeproductionordersize
Content-Type: */*
Accept: application/json
...
HTTP/1.1 204 No Content
Content-Type: application/json
...
Setzt das Los in den Status "IN PRODUKTION" sofern es im AUSGEGEBEN Status ist
name | type | description | constraints |
---|---|---|---|
productionCnr | query | ist die (optionale) Losnummer. | |
productionid | query | ist die (optionale) Id des Loses. Ist die Id angegeben, hat sie Vorrang. | int |
userid | query | ist der beim Logon ermittelte "Token" |
media type | data type | description |
---|---|---|
application/json | number (JSON) | die Id des Los welches nun im Status IN PRODUKTION ist |
application/xml | int (XML) |
POST /api/v1/production/changetoproduction
Content-Type: */*
Accept: application/json
...
HTTP/1.1 201 Created
Content-Type: application/json
...
Den Arbeitsgang als fertig markieren.
Es gibt derzeit keine weitere &UUml;berprüfung ob das Los storniert ist.
name | type | description |
---|---|---|
hvtoken | header | |
userid | query |
media type | data type |
---|---|
application/json | OpenWorkUpdateEntryList (JSON) |
application/xml;charset=UTF-8 | object |
PUT /api/v1/production/doneopenworklist
Content-Type: application/json
hvtoken: ...
{
"entries" : [ {
"productionCnr" : "...",
"workItemStartDate" : 12345,
"machineOffsetMs" : 12345,
"machineId" : 12345,
"starttimeMs" : 12345,
"finishtimeMs" : 12345,
"id" : 12345
}, {
"productionCnr" : "...",
"workItemStartDate" : 12345,
"machineOffsetMs" : 12345,
"machineId" : 12345,
"starttimeMs" : 12345,
"finishtimeMs" : 12345,
"id" : 12345
} ]
}
HTTP/1.1 204 No Content
Eine Los als erledigt markieren
Das Los wird nur dann als erledigt markiert, wenn die abgelieferte Menge
zumindest der Losgröße entspricht. Andernfalls wird im Result
die property missingAmount
auf true gesetzt. In diesem Falle
wird das Los nicht erledigt, außer es wird mittels overrideNotCompleted
übersteuert.
Gibt es auf dem Los eine offene Zeitbuchung, wird der Name der betroffenen
Person in der property processedBy angegeben. Das Los wird dann nicht erledigt.
Dies gelingt erst, wenn mittels ignoreProcessedBy
übersteuert
wird.
name | type | description | constraints |
---|---|---|---|
ignoreProcessedBy | query | mit true wird eine eventuell vorhandene offene Zeitbuchung auf das Los ignoriert. | boolean |
overrideNotCompleted | query | mit true kann die Mengenprüfung übersteuert werden. Eine zu geringe Losablieferung wird dann also ignoriert. | boolean |
productionCnr | query | ist die (optionale) Losnummer. | |
productionid | query | ist die (optionale) Id des Loses. Ist die Id angegeben, hat sie Vorrang. | int |
userid | query | ist der beim Logon ermittelte "Token" |
media type | data type | description |
---|---|---|
application/json | DoneProductionEntry (JSON) | Informationen zum erledigten Los |
application/xml;charset=UTF-8 | object |
POST /api/v1/production/doneproduction
Content-Type: */*
Accept: application/json
...
HTTP/1.1 201 Created
Content-Type: application/json
{
"done" : true,
"missingAmount" : true,
"amount" : 12345.0,
"deliveredAmount" : 12345.0,
"postMessage" : "...",
"nowProcessedBy" : "...",
"id" : 12345
}
Ein Los ausgeben
name | type | description | constraints |
---|---|---|---|
overrideLockWarning | query | true wenn eventuell vorhandene Artikelsperren ignoriert werden sollen, false sind Sperren vorhanden, wird das Los nicht ausgegeben | boolean |
overrideMissingPartsWarning | query | true wenn das Los auch ausgegeben werden soll, sofern Fehlmengen entstünden. Bei false wird das Los nur ausgegeben, wenn entweder keine Fehlmenge entstünde, oder der Systemparameter "FEHLMENGE_ENTSTEHEN_WARNUNG" auf 0 steht. | boolean |
productionCnr | query | ist die (optionale) Losnummer. | |
productionid | query | ist die (optionale) Id des Loses. Ist die Id angegeben, hat sie Vorrang. | int |
userid | query | ist der beim Logon ermittelte "Token" |
media type | data type | description |
---|---|---|
application/json | EmitProductionEntry (JSON) | Informationen zur Losausgabe. Das können Hinweistexte sein, oder auch Gründe, warum das Losausgeben nicht erfolgreich war |
application/xml;charset=UTF-8 | object |
POST /api/v1/production/emitproduction
Content-Type: */*
Accept: application/json
...
HTTP/1.1 201 Created
Content-Type: application/json
{
"emitted" : true,
"itemHints" : {
"entries" : [ {
"content" : "...",
"mimeType" : "IMAGEJPEG",
"cnr" : "...",
"id" : 12345
}, {
"content" : "...",
"mimeType" : "IMAGEPNG",
"cnr" : "...",
"id" : 12345
} ]
},
"itemLocks" : {
"entries" : [ {
"cause" : "...",
"lockId" : 12345,
"locked" : true,
"lockedProduction" : true,
"lockedPartlist" : true,
"lockedByProduction" : true,
"description" : "...",
"lockedSale" : true,
"lockedPurchasing" : true,
"id" : 12345
}, {
"cause" : "...",
"lockId" : 12345,
"locked" : true,
"lockedProduction" : true,
"lockedPartlist" : true,
"lockedByProduction" : true,
"description" : "...",
"lockedSale" : true,
"lockedPurchasing" : true,
"id" : 12345
} ]
},
"locked" : true,
"missingPartsWarning" : true,
"postMessage" : "...",
"requiredPositionHints" : "...",
"id" : 12345
}
media type | data type |
---|---|
application/json | MaterialRequirementPostEntry (JSON) |
application/xml;charset=UTF-8 | object |
POST /api/v1/production/materialrequirements
Content-Type: application/json
{
"userId" : "...",
"materialRequirementEntries" : {
"entries" : [ {
"productionId" : 12345,
"productionCnr" : "...",
"desiredQuantity" : 12345.0,
"desiredDateMs" : 12345,
"additional" : true,
"returned" : true,
"item" : "...",
"itemDescription" : "...",
"comment" : "...",
"fromStaffId" : 12345,
"acquisitionTimeMs" : 12345,
"data" : "..."
}, {
"productionId" : 12345,
"productionCnr" : "...",
"desiredQuantity" : 12345.0,
"desiredDateMs" : 12345,
"additional" : true,
"returned" : true,
"item" : "...",
"itemDescription" : "...",
"comment" : "...",
"fromStaffId" : 12345,
"acquisitionTimeMs" : 12345,
"data" : "..."
} ]
},
"printSynchronisationPaper" : true
}
HTTP/1.1 201 Created
Eine Materialentnahme bzw. -rückgabe nachträglich durchführen
Im Gegensatz zum HELIUM V Client dürfen nur Materialien zurückgegeben werden, die auch tatsächlich ausgegeben worden sind.
ist materialEntry.targetMaterialId gesetzt, wird eine Entnahme/Rückgabe auf die damit angegebene Sollposition durchgeführt, ansonsten wird diese ohne ohne Bezug zu einer Sollposition durchgeführt.
name | type | description |
---|---|---|
hvtoken | header | ist der beim Logon ermittelte Token. (optional) |
userId | query | ist der beim Logon ermittelte "token" |
media type | data type | description |
---|---|---|
application/json | MaterialWithdrawalEntry (JSON) | sind die Daten zur Materialentnahme wie Artikelnummer, Menge, Serien- bzw. Chargennummer und Lager |
application/xml | materialWithdrawalEntry (XML) |
POST /api/v1/production/materialwithdrawal
Content-Type: application/json
hvtoken: ...
{
"lotCnr" : "...",
"itemCnr" : "...",
"amount" : 12345.0,
"identities" : [ {
"identity" : "...",
"amount" : 12345.0
}, {
"identity" : "...",
"amount" : 12345.0
} ],
"stockCnr" : "...",
"stockId" : 12345,
"return" : true,
"targetMaterialId" : 12345
}
HTTP/1.1 201 Created
Eine Liste aller offenen Arbeitsgänge ermitteln
name | type | description | constraints |
---|---|---|---|
filter_cnr | query | ||
filter_customer | query | ||
filter_enddate | query | long | |
filter_inproductiononly | query | liefert bei Aktivierung nur offene Arbeitsgänge aus Losen, die sich in Produktion befinden | boolean |
filter_itemcnr | query | ||
filter_machinegroup | query | int | |
filter_nextworkstep | query | liefert bei Aktivierung nur den nächsten nicht fertigen Arbeitsgang | boolean |
filter_startdate | query | long | |
limit | query | die maximale Anzahl von Einträgen | int |
startIndex | query | int | |
userid | query | ist der beim Logon ermittelte "token" |
media type | data type | description |
---|---|---|
application/json | OpenWorkEntryList (JSON) | eine (leere) Liste aller offenen Arbeitsgänge |
application/xml;charset=UTF-8 | object |
GET /api/v1/production/openwork
Content-Type: */*
Accept: application/json
...
HTTP/1.1 200 OK
Content-Type: application/json
{
"entries" : [ {
"productionCnr" : "...",
"productionProjectNr" : "...",
"partlistCnr" : "...",
"partlistDescription" : "...",
"workNumber" : 12345,
"workItemCnr" : "...",
"workItemDescription" : "...",
"workItemShortDescription" : "...",
"workItemStartDate" : 12345,
"workItemStartCalendarWeek" : 12345,
"workItemStartCalendarYear" : 12345,
"machineOffsetMs" : 12345,
"duration" : 12345.0,
"machineCnr" : "...",
"machineDescription" : "...",
"materialCnr" : "...",
"materialDescription" : "...",
"hasWorktime" : true,
"customerShortDescription" : "...",
"abc" : "...",
"machineId" : 12345,
"orderId" : 12345,
"orderCnr" : "...",
"overdue" : true,
"orderFinalDateMs" : 12345,
"progressPercent" : 12345.0,
"targetDuration" : 12345.0,
"partlistItemCnr" : "...",
"partlistItemDescription" : "...",
"partlistItemShortDescription" : "...",
"actualTime" : 12345.0,
"starttimeMoveable" : true,
"finishtimeMoveable" : true,
"openQuantity" : 12345.0,
"productionFinalDateMs" : 12345,
"id" : 12345
}, {
"productionCnr" : "...",
"productionProjectNr" : "...",
"partlistCnr" : "...",
"partlistDescription" : "...",
"workNumber" : 12345,
"workItemCnr" : "...",
"workItemDescription" : "...",
"workItemShortDescription" : "...",
"workItemStartDate" : 12345,
"workItemStartCalendarWeek" : 12345,
"workItemStartCalendarYear" : 12345,
"machineOffsetMs" : 12345,
"duration" : 12345.0,
"machineCnr" : "...",
"machineDescription" : "...",
"materialCnr" : "...",
"materialDescription" : "...",
"hasWorktime" : true,
"customerShortDescription" : "...",
"abc" : "...",
"machineId" : 12345,
"orderId" : 12345,
"orderCnr" : "...",
"overdue" : true,
"orderFinalDateMs" : 12345,
"progressPercent" : 12345.0,
"targetDuration" : 12345.0,
"partlistItemCnr" : "...",
"partlistItemDescription" : "...",
"partlistItemShortDescription" : "...",
"actualTime" : 12345.0,
"starttimeMoveable" : true,
"finishtimeMoveable" : true,
"openQuantity" : 12345.0,
"productionFinalDateMs" : 12345,
"id" : 12345
} ]
}
Einen offen Arbeitsgang modifizieren
Es kann die Resource (Maschine), die Startzeit und der Tagesversatz abgeändert werden.
name | type | description |
---|---|---|
hvtoken | header | ist der (optionale) beim Logon ermittelte "Token" |
userid | query | ist der beim Logon ermittelte "Token". Entweder headerUserId oder userId muss gesetzt sein |
media type | data type |
---|---|
application/json | OpenWorkUpdateEntry (JSON) |
application/xml;charset=UTF-8 | object |
PUT /api/v1/production/openwork
Content-Type: application/json
hvtoken: ...
{
"productionCnr" : "...",
"workItemStartDate" : 12345,
"machineOffsetMs" : 12345,
"machineId" : 12345,
"starttimeMs" : 12345,
"finishtimeMs" : 12345,
"id" : 12345
}
HTTP/1.1 204 No Content
name | type | description |
---|---|---|
hvtoken | header | |
userid | query |
media type | data type |
---|---|
application/json | OpenWorkUpdateEntryList (JSON) |
application/xml;charset=UTF-8 | object |
PUT /api/v1/production/openworklist
Content-Type: application/json
hvtoken: ...
{
"entries" : [ {
"productionCnr" : "...",
"workItemStartDate" : 12345,
"machineOffsetMs" : 12345,
"machineId" : 12345,
"starttimeMs" : 12345,
"finishtimeMs" : 12345,
"id" : 12345
}, {
"productionCnr" : "...",
"workItemStartDate" : 12345,
"machineOffsetMs" : 12345,
"machineId" : 12345,
"starttimeMs" : 12345,
"finishtimeMs" : 12345,
"id" : 12345
} ]
}
HTTP/1.1 204 No Content
Druckt Etiketten der Fertigung über den Server aus.
name | type | description | constraints |
---|---|---|---|
printLabel | query | (optional) mit true den Druck der Losetiketten auslösen |
boolean |
printLabelComment | query | (optional) Kommentar des Losetiketts | |
printLabelCopies | query | (optional) die Anzahl der Exemplare des Losetiketts. Wenn nicht angegeben ist sie 1. | int |
printLabelQuantity | query | (optional) die Mengenangabe des Losetiketts. Wenn nicht angegeben ist sie die Menge der letzten Losablieferung. | |
printerLabel | query | (optional) Drucker über den das Losetikett gedruckt werden soll. Wenn nicht angegeben wird der mobile Default-Etikettendrucker (siehe Mandanten- und Arbeitsplatzparameter) verwendet. | |
productionCnr | query | Ist die (optionale) Losnummer. | |
productionid | query | Ist die (optionale) Id des Loses. Ist die Id angegeben, hat sie Vorrang. | int |
userid | query | Ist der beim Logon ermittelte "Token" |
media type | data type | description |
---|---|---|
application/json | PrintProductionLabelEntry (JSON) | |
application/xml;charset=UTF-8 | object |
GET /api/v1/production/printlabels
Content-Type: application/json;charset=UTF-8
Accept: application/json
...
HTTP/1.1 200 OK
Content-Type: application/json
{
"printLabel" : true,
"id" : 12345
}
name | type | description | constraints |
---|---|---|---|
printAnalysissheet | query | boolean | |
printProductionsupplynote | query | boolean | |
printerAnalysissheet | query | ||
printerProductionsupplynote | query | ||
productionCnr | query | ||
productionid | query | int | |
userid | query |
media type | data type | description |
---|---|---|
application/json | PrintProductionEntry (JSON) | |
application/xml;charset=UTF-8 | object |
GET /api/v1/production/printpapers
Content-Type: */*
Accept: application/json
...
HTTP/1.1 200 OK
Content-Type: application/json
{
"printProductionpaper" : true,
"printAnalysissheet" : true,
"id" : 12345
}
Ein Los stoppen
name | type | description | constraints |
---|---|---|---|
productionCnr | query | ist die (optionale) Losnummer. | |
productionid | query | ist die (optionale) Id des Loses. Ist die Id angegeben, hat sie Vorrang. | int |
userid | query | ist der beim Logon ermittelte "Token" |
media type | data type | description |
---|---|---|
application/json | StopProductionEntry (JSON) | |
application/xml;charset=UTF-8 | object |
POST /api/v1/production/stopproduction
Content-Type: */*
Accept: application/json
...
HTTP/1.1 201 Created
Content-Type: application/json
{
"stopped" : true,
"postMessage" : "...",
"id" : 12345
}
Pruüfergebnisse einer Losablieferung erzeugen
media type | data type | description |
---|---|---|
application/json | TestResultPostEntry (JSON) | Datenstruktur der Prüfergebnisse |
application/xml;charset=UTF-8 | object |
POST /api/v1/production/testresult
Content-Type: application/json
{
"userId" : "...",
"productionDeliveryId" : 12345,
"testResultEntries" : {
"entries" : [ {
"productionTestPlanId" : 12345,
"testType" : "OPTICAL_TEST"
}, {
"productionTestPlanId" : 12345,
"testType" : "OPTICAL_TEST"
} ]
}
}
HTTP/1.1 201 Created
Die Liste der den Filterkriterien entsprechenden Lose
name | type | description | constraints |
---|---|---|---|
userid | path | ist der beim Logon ermittelte "token" | |
filter_cnr | query | die zu filternde Losnummer | |
filter_customer | query | der zu filternde Kundenname | |
filter_itemcnr | query | die zu filternde Artikelnummer | |
filter_productiongroup | query | die zu filternde Fertigungsgruppe | |
filter_project | query | der zu filternde Projektname | |
limit | query | die maximale Anzahl von Einträgen die ermittelt werden sollen | int |
startIndex | query | der StartIndex | int |
media type | data type | description |
---|---|---|
application/json | array of ProductionEntry (JSON) | eine (leere) Liste von Losen entsprechend den Filterkriterien |
application/xml;charset=UTF-8 | object |
GET /api/v1/production/{userid}
Content-Type: */*
Accept: application/json
...
HTTP/1.1 200 OK
Content-Type: application/json
[ {
"cnr" : "...",
"amount" : 12345.0,
"orderOrItemCnr" : "...",
"startDateMs" : 12345,
"endDateMs" : 12345,
"project" : "...",
"comment" : "...",
"itemEntry" : {
"cnr" : "...",
"description" : "...",
"description2" : "...",
"name" : "...",
"shortName" : "...",
"stockAmount" : 12345.0,
"costs" : 12345.0,
"billOfMaterialType" : "...",
"available" : true,
"comments" : [ "...", "..." ],
"hidden" : true,
"unitCnr" : "...",
"typeCnr" : "...",
"itemgroupCnr" : "...",
"itemclassCnr" : "...",
"revision" : "...",
"stockAmountInfo" : {
"stockAmount" : 12345.0,
"reservedAmount" : 12345.0,
"missingAmount" : 12345.0,
"availableAmount" : 12345.0
},
"referenceNumber" : "...",
"index" : "...",
"hasSerialnr" : true,
"hasChargenr" : true,
"producerInfoEntry" : {
"producerId" : 12345,
"itemCnr" : "...",
"itemDescription" : "...",
"barcodeLeadIn" : "...",
"hasInfo" : true
},
"packagingEntries" : {
"entries" : [ { }, { } ]
},
"packagingAmount" : 12345.0,
"batchSize" : 12345.0,
"packagingAverageAmount" : 12345.0,
"stockplaceInfoEntries" : {
"entries" : [ { }, { } ]
},
"documentInfoEntries" : {
"entries" : [ { }, { } ]
},
"itemCommentMediaInfoEntries" : {
"entries" : [ { }, { } ]
},
"id" : 12345
},
"customer" : {
"name1" : "...",
"name2" : "...",
"sign" : "...",
"countryCode" : "...",
"zipcode" : "...",
"phone" : "...",
"city" : "...",
"deliveryAllowed" : true,
"classification" : "...",
"addressType" : "...",
"representativeSign" : "...",
"id" : 12345
},
"additionalStatuses" : {
"entries" : [ {
"status" : "...",
"dateMs" : 12345
}, {
"status" : "...",
"dateMs" : 12345
} ]
},
"status" : "INPRODUCTION",
"partlistId" : 12345,
"worksteps" : {
"entries" : [ {
"workstepNumber" : 12345,
"setupTimeMs" : 12345,
"jobTimeMs" : 12345,
"comment" : "...",
"itemEntry" : { },
"machineId" : 12345,
"text" : "...",
"workstepType" : "...",
"workplanComment" : "...",
"id" : 12345
}, {
"workstepNumber" : 12345,
"setupTimeMs" : 12345,
"jobTimeMs" : 12345,
"comment" : "...",
"itemEntry" : { },
"machineId" : 12345,
"text" : "...",
"workstepType" : "...",
"workplanComment" : "...",
"id" : 12345
} ]
},
"targetMaterials" : {
"entries" : [ {
"productionId" : 12345,
"amount" : 12345.0,
"unitCnr" : "...",
"position" : "...",
"comment" : "...",
"price" : 12345.0,
"iSort" : 12345,
"itemEntry" : { },
"amountIssued" : 12345.0,
"mountingMethodId" : 12345,
"belatedWithdrawn" : true,
"id" : 12345
}, {
"productionId" : 12345,
"amount" : 12345.0,
"unitCnr" : "...",
"position" : "...",
"comment" : "...",
"price" : 12345.0,
"iSort" : 12345,
"itemEntry" : { },
"amountIssued" : 12345.0,
"mountingMethodId" : 12345,
"belatedWithdrawn" : true,
"id" : 12345
} ]
},
"deliveredAmount" : 12345.0,
"productionWorksteps" : {
"entries" : [ {
"workstepNumber" : 12345,
"setupTimeMs" : 12345,
"jobTimeMs" : 12345,
"comment" : "...",
"itemEntry" : { },
"machineId" : 12345,
"text" : "...",
"workstepType" : "...",
"hasFinished" : true,
"duration" : 12345.0,
"id" : 12345
}, {
"workstepNumber" : 12345,
"setupTimeMs" : 12345,
"jobTimeMs" : 12345,
"comment" : "...",
"itemEntry" : { },
"machineId" : 12345,
"text" : "...",
"workstepType" : "...",
"hasFinished" : true,
"duration" : 12345.0,
"id" : 12345
} ]
},
"targetStockId" : 12345,
"customerName" : "...",
"itemDescription" : "...",
"itemDescription2" : "...",
"documentInfoEntries" : {
"entries" : [ {
"name" : "...",
"filename" : "...",
"size" : 12345,
"cnr" : "..."
}, {
"name" : "...",
"filename" : "...",
"size" : 12345,
"cnr" : "..."
} ]
},
"itemCommentMediaInfoEntries" : {
"entries" : [ {
"mimeType" : "TEXTHTML",
"iSort" : 12345,
"commentType" : "...",
"filename" : "...",
"size" : 12345,
"commentTypeDescription" : "...",
"content" : "...",
"id" : 12345
}, {
"mimeType" : "IMAGEJPEG",
"iSort" : 12345,
"commentType" : "...",
"filename" : "...",
"size" : 12345,
"commentTypeDescription" : "...",
"content" : "...",
"id" : 12345
} ]
},
"itemCnr" : "...",
"orderCnr" : "...",
"manufactoringPlace" : "...",
"testPlanEntries" : {
"entries" : [ {
"testType" : "MULTIPLE_CRIMP_WITHOUT_ISOLATION",
"productionId" : 12345,
"sortOrder" : 12345,
"description" : "...",
"comment" : "...",
"id" : 12345
}, {
"testType" : "DIMENSIONAL_TEST",
"productionId" : 12345,
"sortOrder" : 12345,
"description" : "...",
"comment" : "...",
"id" : 12345
} ]
},
"id" : 12345
} ]
name | type | description | constraints |
---|---|---|---|
userid | path | ||
filter_cnr | query | ||
filter_customer | query | ||
filter_itemcnr | query | ||
filter_productiongroup | query | ||
filter_project | query | ||
filter_status | query | ||
limit | query | int | |
startIndex | query | int |
media type | data type | description |
---|---|---|
application/json | ProductionEntryList (JSON) | |
application/xml;charset=UTF-8 | object |
GET /api/v1/production/list/{userid}
Content-Type: */*
Accept: application/json
...
HTTP/1.1 200 OK
Content-Type: application/json
{
"entries" : [ {
"cnr" : "...",
"amount" : 12345.0,
"orderOrItemCnr" : "...",
"startDateMs" : 12345,
"endDateMs" : 12345,
"project" : "...",
"comment" : "...",
"itemEntry" : {
"cnr" : "...",
"description" : "...",
"description2" : "...",
"name" : "...",
"shortName" : "...",
"stockAmount" : 12345.0,
"costs" : 12345.0,
"billOfMaterialType" : "...",
"available" : true,
"comments" : [ "...", "..." ],
"hidden" : true,
"unitCnr" : "...",
"typeCnr" : "...",
"itemgroupCnr" : "...",
"itemclassCnr" : "...",
"revision" : "...",
"stockAmountInfo" : { },
"referenceNumber" : "...",
"index" : "...",
"hasSerialnr" : true,
"hasChargenr" : true,
"producerInfoEntry" : { },
"packagingEntries" : { },
"packagingAmount" : 12345.0,
"batchSize" : 12345.0,
"packagingAverageAmount" : 12345.0,
"stockplaceInfoEntries" : { },
"documentInfoEntries" : { },
"itemCommentMediaInfoEntries" : { },
"id" : 12345
},
"customer" : {
"name1" : "...",
"name2" : "...",
"sign" : "...",
"countryCode" : "...",
"zipcode" : "...",
"phone" : "...",
"city" : "...",
"deliveryAllowed" : true,
"classification" : "...",
"addressType" : "...",
"representativeSign" : "...",
"id" : 12345
},
"additionalStatuses" : {
"entries" : [ { }, { } ]
},
"status" : "DONE",
"partlistId" : 12345,
"worksteps" : {
"entries" : [ { }, { } ]
},
"targetMaterials" : {
"entries" : [ { }, { } ]
},
"deliveredAmount" : 12345.0,
"productionWorksteps" : {
"entries" : [ { }, { } ]
},
"targetStockId" : 12345,
"customerName" : "...",
"itemDescription" : "...",
"itemDescription2" : "...",
"documentInfoEntries" : {
"entries" : [ { }, { } ]
},
"itemCommentMediaInfoEntries" : {
"entries" : [ { }, { } ]
},
"itemCnr" : "...",
"orderCnr" : "...",
"manufactoringPlace" : "...",
"testPlanEntries" : {
"entries" : [ { }, { } ]
},
"id" : 12345
}, {
"cnr" : "...",
"amount" : 12345.0,
"orderOrItemCnr" : "...",
"startDateMs" : 12345,
"endDateMs" : 12345,
"project" : "...",
"comment" : "...",
"itemEntry" : {
"cnr" : "...",
"description" : "...",
"description2" : "...",
"name" : "...",
"shortName" : "...",
"stockAmount" : 12345.0,
"costs" : 12345.0,
"billOfMaterialType" : "...",
"available" : true,
"comments" : [ "...", "..." ],
"hidden" : true,
"unitCnr" : "...",
"typeCnr" : "...",
"itemgroupCnr" : "...",
"itemclassCnr" : "...",
"revision" : "...",
"stockAmountInfo" : { },
"referenceNumber" : "...",
"index" : "...",
"hasSerialnr" : true,
"hasChargenr" : true,
"producerInfoEntry" : { },
"packagingEntries" : { },
"packagingAmount" : 12345.0,
"batchSize" : 12345.0,
"packagingAverageAmount" : 12345.0,
"stockplaceInfoEntries" : { },
"documentInfoEntries" : { },
"itemCommentMediaInfoEntries" : { },
"id" : 12345
},
"customer" : {
"name1" : "...",
"name2" : "...",
"sign" : "...",
"countryCode" : "...",
"zipcode" : "...",
"phone" : "...",
"city" : "...",
"deliveryAllowed" : true,
"classification" : "...",
"addressType" : "...",
"representativeSign" : "...",
"id" : 12345
},
"additionalStatuses" : {
"entries" : [ { }, { } ]
},
"status" : "NOTINITIALIZED",
"partlistId" : 12345,
"worksteps" : {
"entries" : [ { }, { } ]
},
"targetMaterials" : {
"entries" : [ { }, { } ]
},
"deliveredAmount" : 12345.0,
"productionWorksteps" : {
"entries" : [ { }, { } ]
},
"targetStockId" : 12345,
"customerName" : "...",
"itemDescription" : "...",
"itemDescription2" : "...",
"documentInfoEntries" : {
"entries" : [ { }, { } ]
},
"itemCommentMediaInfoEntries" : {
"entries" : [ { }, { } ]
},
"itemCnr" : "...",
"orderCnr" : "...",
"manufactoringPlace" : "...",
"testPlanEntries" : {
"entries" : [ { }, { } ]
},
"id" : 12345
} ]
}
Den Losproduktionsbeginn oder (auch) Losproduktionsende auf neue Datumswerte setzen
name | type | description | constraints |
---|---|---|---|
productionid | path | die Id des zu ändernden Loses | int |
finish | query | (optionaler) neuer Endetermin. Mindestens einer der beiden Termine muss angegeben werden. Wird finishTimeMs nicht angegeben, so wird der aktuelle Endetermin verwendet | long |
start | query | (optionaler) neuer Beginntermin. Mindestens einer der beiden Termine muss angegeben werden. Wird startTimeMs nicht angegeben, so wird der aktuelle Beginntermin verwendet | long |
userid | query | ist der beim Logon ermittelte "Token" |
PUT /api/v1/production/{productionid}/dates
Content-Type: */*
...
HTTP/1.1 204 No Content
Erzeugt eine Losablieferung des angebenen Loses
name | type | description | constraints |
---|---|---|---|
productionid | path | Id des Loses | int |
media type | data type | description |
---|---|---|
application/json | DeliveryPostEntry (JSON) | Datenstruktur der Losablieferung |
application/xml;charset=UTF-8 | object |
media type | data type | description |
---|---|---|
application/json | number (JSON) | |
application/xml;charset=UTF-8 | object |
POST /api/v1/production/{productionid}/delivery
Content-Type: application/json
Accept: application/json
{
"amount" : 12345.0,
"testResultEntries" : {
"entries" : [ {
"productionTestPlanId" : 12345,
"testType" : "MULTIPLE_CRIMP_WITH_ISOLATION"
}, {
"productionTestPlanId" : 12345,
"testType" : "FORCE_MEASUREMENT"
} ]
},
"stockId" : 12345,
"userId" : "...",
"bookStopping" : true,
"timeRecordingEntry" : {
"forStaffId" : 12345,
"forStaffCnr" : "...",
"userId" : "...",
"year" : 12345,
"month" : 12345,
"day" : 12345,
"hour" : 12345,
"minute" : 12345,
"second" : 12345,
"where" : "..."
},
"bookMachineStopping" : true,
"productionWorkplanId" : 12345,
"scrapAmount" : 12345.0,
"increaseLotSizeByScrapAmount" : true,
"identities" : [ {
"identity" : "...",
"amount" : 12345.0
}, {
"identity" : "...",
"amount" : 12345.0
} ]
}
HTTP/1.1 201 Created
Content-Type: application/json
...
name | type | description | constraints |
---|---|---|---|
productionid | path | int | |
documentcnr | query | ||
userid | query |
media type | data type | description |
---|---|---|
application/json | object (JSON) | |
application/xml | anyType (XML) |
GET /api/v1/production/{productionid}/document
Content-Type: */*
Accept: application/json
...
HTTP/1.1 200 OK
Content-Type: application/json
...
Legt Dateien in die Dokumentenablage eines Loses ab.
Die maximale Upload-Größe ist derzeit auf 500KiB gestellt
name | type | description | constraints |
---|---|---|---|
productionid | path | ist die Id des Loses | int |
grouping | query | ist die Gruppierung (optional) | |
keywords | query | sind die Schlagworte des Dokuments (optional) | |
securitylevel | query | ist die Sicherheitsstufe (optional) | long |
type | query | ist die Belegart (optional) | |
userid | query | ist der beim Logon ermittelte "Token" |
media type | data type | description |
---|---|---|
application/json | MultipartBody (JSON) | ist der multipart/form-data des Requests, der den/die Dokumente enthält |
application/xml | multipartBody (XML) |
POST /api/v1/production/{productionid}/document
Content-Type: application/json
{
"allAttachments" : [ {
"contentDisposition" : {
"type" : "...",
"parameters" : {
"property1" : "...",
"property2" : "..."
}
},
"object" : { },
"contentType" : {
"type" : "...",
"wildcardSubtype" : true,
"parameters" : {
"property1" : "...",
"property2" : "..."
},
"wildcardType" : true,
"subtype" : "..."
},
"contentId" : "...",
"dataHandler" : "...",
"headers" : {
"property1" : [ "...", "..." ],
"property2" : [ "...", "..." ]
}
}, {
"contentDisposition" : {
"type" : "...",
"parameters" : {
"property1" : "...",
"property2" : "..."
}
},
"object" : { },
"contentType" : {
"type" : "...",
"wildcardSubtype" : true,
"parameters" : {
"property1" : "...",
"property2" : "..."
},
"wildcardType" : true,
"subtype" : "..."
},
"contentId" : "...",
"dataHandler" : "...",
"headers" : {
"property1" : [ "...", "..." ],
"property2" : [ "...", "..." ]
}
} ],
"type" : {
"type" : "...",
"wildcardSubtype" : true,
"parameters" : {
"property1" : "...",
"property2" : "..."
},
"wildcardType" : true,
"subtype" : "..."
},
"rootAttachment" : {
"contentDisposition" : {
"type" : "...",
"parameters" : {
"property1" : "...",
"property2" : "..."
}
},
"object" : { },
"contentType" : {
"type" : "...",
"wildcardSubtype" : true,
"parameters" : {
"property1" : "...",
"property2" : "..."
},
"wildcardType" : true,
"subtype" : "..."
},
"contentId" : "...",
"dataHandler" : "...",
"headers" : {
"property1" : [ "...", "..." ],
"property2" : [ "...", "..." ]
}
},
"childAttachments" : [ {
"contentDisposition" : {
"type" : "...",
"parameters" : {
"property1" : "...",
"property2" : "..."
}
},
"object" : { },
"contentType" : {
"type" : "...",
"wildcardSubtype" : true,
"parameters" : {
"property1" : "...",
"property2" : "..."
},
"wildcardType" : true,
"subtype" : "..."
},
"contentId" : "...",
"dataHandler" : "...",
"headers" : {
"property1" : [ "...", "..." ],
"property2" : [ "...", "..." ]
}
}, {
"contentDisposition" : {
"type" : "...",
"parameters" : {
"property1" : "...",
"property2" : "..."
}
},
"object" : { },
"contentType" : {
"type" : "...",
"wildcardSubtype" : true,
"parameters" : {
"property1" : "...",
"property2" : "..."
},
"wildcardType" : true,
"subtype" : "..."
},
"contentId" : "...",
"dataHandler" : "...",
"headers" : {
"property1" : [ "...", "..." ],
"property2" : [ "...", "..." ]
}
} ]
}
HTTP/1.1 201 Created
Etiketten eines Loses als JRPrint erhalten.
name | type | description | constraints |
---|---|---|---|
productionid | path | das Los des zu druckenden Verpackungsetiketts | int |
amount | query | Menge | |
copies | query | Anzahl der Exemplare | int |
reportType | query | (optional) Name einer Reportvariante des Losetiketts | |
userid | query | ist der beim Logon ermittelte "Token" |
media type | data type | description |
---|---|---|
application/json | object (JSON) | |
application/xml | anyType (XML) |
GET /api/v1/production/{productionid}/printlabel
Content-Type: */*
Accept: application/json
...
HTTP/1.1 200 OK
Content-Type: application/json
...
Ein Verpackungsetikett eines Loses als JRPrint erhalten.
name | type | description | constraints |
---|---|---|---|
productionid | path | das Los des zu druckenden Verpackungsetiketts | int |
userid | query | ist der beim Logon ermittelte "Token" |
media type | data type | description |
---|---|---|
application/json | object (JSON) | |
application/xml | anyType (XML) |
GET /api/v1/production/{productionid}/printpackinglabel
Content-Type: */*
Accept: application/json
...
HTTP/1.1 200 OK
Content-Type: application/json
...
Einen Fertigungsbegleitschein eines Loses als JRPrint erhalten.
name | type | description | constraints |
---|---|---|---|
productionid | path | das zu druckende Los | int |
userid | query | ist der beim Logon ermittelte "Token" |
media type | data type | description |
---|---|---|
application/json | object (JSON) | |
application/xml | anyType (XML) |
GET /api/v1/production/{productionid}/printproductionsupplynote
Content-Type: */*
Accept: application/json
...
HTTP/1.1 200 OK
Content-Type: application/json
...
Ermittelt die Lossollmaterialien eines Loses
name | type | description | constraints |
---|---|---|---|
productionid | path | die Id des Loses | int |
addStockPlaceInfos | query | (optional) mit true die Infos der zugewiesenen Lagerplätze liefern.
Berücksichtigt werden dabei nur jene Läger, die im betreffenden Los zur Loslagerentnahme definiert sind
und für die der Benutzer das Recht hat, das jeweilige Lager zu benutzen. |
boolean |
userid | query | ist der beim Logon ermittelte "Token" |
media type | data type | description |
---|---|---|
application/json | ProductionTargetMaterialEntryList (JSON) | eine (leere) Liste der Lossollmaterialien des betreffenden Loses |
application/xml;charset=UTF-8 | object |
GET /api/v1/production/{productionid}/targetmaterial
Content-Type: */*
Accept: application/json
...
HTTP/1.1 200 OK
Content-Type: application/json
{
"entries" : [ {
"productionId" : 12345,
"amount" : 12345.0,
"unitCnr" : "...",
"position" : "...",
"comment" : "...",
"price" : 12345.0,
"iSort" : 12345,
"itemEntry" : {
"cnr" : "...",
"description" : "...",
"description2" : "...",
"name" : "...",
"shortName" : "...",
"stockAmount" : 12345.0,
"costs" : 12345.0,
"billOfMaterialType" : "...",
"available" : true,
"comments" : [ "...", "..." ],
"hidden" : true,
"unitCnr" : "...",
"typeCnr" : "...",
"itemgroupCnr" : "...",
"itemclassCnr" : "...",
"revision" : "...",
"stockAmountInfo" : { },
"referenceNumber" : "...",
"index" : "...",
"hasSerialnr" : true,
"hasChargenr" : true,
"producerInfoEntry" : { },
"packagingEntries" : { },
"packagingAmount" : 12345.0,
"batchSize" : 12345.0,
"packagingAverageAmount" : 12345.0,
"stockplaceInfoEntries" : { },
"documentInfoEntries" : { },
"itemCommentMediaInfoEntries" : { },
"id" : 12345
},
"amountIssued" : 12345.0,
"mountingMethodId" : 12345,
"belatedWithdrawn" : true,
"id" : 12345
}, {
"productionId" : 12345,
"amount" : 12345.0,
"unitCnr" : "...",
"position" : "...",
"comment" : "...",
"price" : 12345.0,
"iSort" : 12345,
"itemEntry" : {
"cnr" : "...",
"description" : "...",
"description2" : "...",
"name" : "...",
"shortName" : "...",
"stockAmount" : 12345.0,
"costs" : 12345.0,
"billOfMaterialType" : "...",
"available" : true,
"comments" : [ "...", "..." ],
"hidden" : true,
"unitCnr" : "...",
"typeCnr" : "...",
"itemgroupCnr" : "...",
"itemclassCnr" : "...",
"revision" : "...",
"stockAmountInfo" : { },
"referenceNumber" : "...",
"index" : "...",
"hasSerialnr" : true,
"hasChargenr" : true,
"producerInfoEntry" : { },
"packagingEntries" : { },
"packagingAmount" : 12345.0,
"batchSize" : 12345.0,
"packagingAverageAmount" : 12345.0,
"stockplaceInfoEntries" : { },
"documentInfoEntries" : { },
"itemCommentMediaInfoEntries" : { },
"id" : 12345
},
"amountIssued" : 12345.0,
"mountingMethodId" : 12345,
"belatedWithdrawn" : true,
"id" : 12345
} ]
}
Ermittelt den Losprüfplan des angegebenen Loses
name | type | description | constraints |
---|---|---|---|
productionid | path | Id des Loses | int |
userid | query | ist der beim Logon ermittelte "Token" |
media type | data type | description |
---|---|---|
application/json | TestPlanEntryList (JSON) | eine (leere) Liste des Losprüfplans |
application/xml;charset=UTF-8 | object |
GET /api/v1/production/{productionid}/testplan
Content-Type: */*
Accept: application/json
...
HTTP/1.1 200 OK
Content-Type: application/json
{
"entries" : [ {
"testType" : "FORCE_MEASUREMENT",
"productionId" : 12345,
"sortOrder" : 12345,
"description" : "...",
"comment" : "...",
"id" : 12345
}, {
"testType" : "OPTICAL_TEST",
"productionId" : 12345,
"sortOrder" : 12345,
"description" : "...",
"comment" : "...",
"id" : 12345
} ]
}
name | type | description | constraints |
---|---|---|---|
productionid | path | int | |
userid | query |
media type | data type | description |
---|---|---|
application/json | ItemCommentMediaInfoEntryList (JSON) | |
application/xml;charset=UTF-8 | object |
GET /api/v1/production/{productionid}/commentmedia/list
Content-Type: */*
Accept: application/json
...
HTTP/1.1 200 OK
Content-Type: application/json
{
"entries" : [ {
"mimeType" : "IMAGEJPEG",
"iSort" : 12345,
"commentType" : "...",
"filename" : "...",
"size" : 12345,
"commentTypeDescription" : "...",
"content" : "...",
"id" : 12345
}, {
"mimeType" : "TEXTHTML",
"iSort" : 12345,
"commentType" : "...",
"filename" : "...",
"size" : 12345,
"commentTypeDescription" : "...",
"content" : "...",
"id" : 12345
} ]
}
name | type | description | constraints |
---|---|---|---|
itemcommentid | path | int | |
productionid | path | int | |
userid | query |
media type | data type | description |
---|---|---|
application/json | object (JSON) | |
application/xml | anyType (XML) |
GET /api/v1/production/{productionid}/commentmedia/{itemcommentid}
Content-Type: */*
Accept: application/json
...
HTTP/1.1 200 OK
Content-Type: application/json
...
name | type | description | constraints |
---|---|---|---|
productionid | path | int | |
userid | query |
media type | data type | description |
---|---|---|
application/json | DocumentInfoEntryList (JSON) | |
application/xml;charset=UTF-8 | object |
GET /api/v1/production/{productionid}/document/list
Content-Type: */*
Accept: application/json
...
HTTP/1.1 200 OK
Content-Type: application/json
{
"entries" : [ {
"name" : "...",
"filename" : "...",
"size" : 12345,
"cnr" : "..."
}, {
"name" : "...",
"filename" : "...",
"size" : 12345,
"cnr" : "..."
} ]
}
Ermittelt die Lossollmaterialien des Artikels für das Los
name | type | description | constraints |
---|---|---|---|
itemid | path | die Id des gesuchten Artikels | int |
productionid | path | die Id des Loses | int |
addStockPlaceInfos | query | (optional) mit true die Infos der zugewiesenen Lagerplätze liefern.
Berücksichtigt werden dabei nur jene Läger, die im betreffenden Los zur Loslagerentnahme definiert sind
und für die der Benutzer das Recht hat, das jeweilige Lager zu benutzen. |
boolean |
userid | query | ist der beim Logon ermittelte "Token" |
media type | data type | description |
---|---|---|
application/json | ProductionTargetMaterialEntryList (JSON) | eine (leere) Liste der Lossollmaterialien für den gesuchten Artikel |
application/xml;charset=UTF-8 | object |
GET /api/v1/production/{productionid}/targetmaterial/{itemid}
Content-Type: */*
Accept: application/json
...
HTTP/1.1 200 OK
Content-Type: application/json
{
"entries" : [ {
"productionId" : 12345,
"amount" : 12345.0,
"unitCnr" : "...",
"position" : "...",
"comment" : "...",
"price" : 12345.0,
"iSort" : 12345,
"itemEntry" : {
"cnr" : "...",
"description" : "...",
"description2" : "...",
"name" : "...",
"shortName" : "...",
"stockAmount" : 12345.0,
"costs" : 12345.0,
"billOfMaterialType" : "...",
"available" : true,
"comments" : [ "...", "..." ],
"hidden" : true,
"unitCnr" : "...",
"typeCnr" : "...",
"itemgroupCnr" : "...",
"itemclassCnr" : "...",
"revision" : "...",
"stockAmountInfo" : { },
"referenceNumber" : "...",
"index" : "...",
"hasSerialnr" : true,
"hasChargenr" : true,
"producerInfoEntry" : { },
"packagingEntries" : { },
"packagingAmount" : 12345.0,
"batchSize" : 12345.0,
"packagingAverageAmount" : 12345.0,
"stockplaceInfoEntries" : { },
"documentInfoEntries" : { },
"itemCommentMediaInfoEntries" : { },
"id" : 12345
},
"amountIssued" : 12345.0,
"mountingMethodId" : 12345,
"belatedWithdrawn" : true,
"id" : 12345
}, {
"productionId" : 12345,
"amount" : 12345.0,
"unitCnr" : "...",
"position" : "...",
"comment" : "...",
"price" : 12345.0,
"iSort" : 12345,
"itemEntry" : {
"cnr" : "...",
"description" : "...",
"description2" : "...",
"name" : "...",
"shortName" : "...",
"stockAmount" : 12345.0,
"costs" : 12345.0,
"billOfMaterialType" : "...",
"available" : true,
"comments" : [ "...", "..." ],
"hidden" : true,
"unitCnr" : "...",
"typeCnr" : "...",
"itemgroupCnr" : "...",
"itemclassCnr" : "...",
"revision" : "...",
"stockAmountInfo" : { },
"referenceNumber" : "...",
"index" : "...",
"hasSerialnr" : true,
"hasChargenr" : true,
"producerInfoEntry" : { },
"packagingEntries" : { },
"packagingAmount" : 12345.0,
"batchSize" : 12345.0,
"packagingAverageAmount" : 12345.0,
"stockplaceInfoEntries" : { },
"documentInfoEntries" : { },
"itemCommentMediaInfoEntries" : { },
"id" : 12345
},
"amountIssued" : 12345.0,
"mountingMethodId" : 12345,
"belatedWithdrawn" : true,
"id" : 12345
} ]
}
Ermittelt und liefert eine Liste von Maschinen, die für den Losarbeitsgang eingesetzt werden dürfen
name | type | description | constraints |
---|---|---|---|
productionid | path | die Id des Loses des Arbeitsgangs | int |
productionworkstepid | path | Id des Arbeitsgangs des Loses | int |
userid | query | ist der beim Logon ermittelte "Token" |
media type | data type | description |
---|---|---|
application/json | MachineEntryList (JSON) | Liste von Maschinen, die für diesen Arbeitsgang eingesetzt werden dürfen |
application/xml | machineEntryList (XML) |
GET /api/v1/production/{productionid}/workstep/{productionworkstepid}/machine
Content-Type: */*
Accept: application/json
...
HTTP/1.1 200 OK
Content-Type: application/json
{
"entries" : [ {
"inventoryNumber" : "...",
"description" : "...",
"identificationNumber" : "...",
"machineGroupId" : 12345,
"machineGroupDescription" : "...",
"personalIdStarter" : 12345,
"starttime" : 12345,
"productionWorkplanId" : 12345,
"machineGroupShortDescription" : "...",
"machineGroupISort" : 12345,
"id" : 12345
}, {
"inventoryNumber" : "...",
"description" : "...",
"identificationNumber" : "...",
"machineGroupId" : 12345,
"machineGroupDescription" : "...",
"personalIdStarter" : 12345,
"starttime" : 12345,
"productionWorkplanId" : 12345,
"machineGroupShortDescription" : "...",
"machineGroupISort" : 12345,
"id" : 12345
} ]
}
Die Maschine eines Losarbeitsgangs setzen. Die vorher gesetzte Maschine wird - sofern vorhanden - gestoppt.
name | type | description | constraints |
---|---|---|---|
productionid | path | die Id des Loses des Arbeitsgangs | int |
productionworkstepid | path | Id des Arbeitsgangs des Loses | int |
machineid | query | die Id der neu zu setzenden Maschine des Losarbeitsgangs | int |
userid | query | ist der beim Logon ermittelte "Token" |
PUT /api/v1/production/{productionid}/workstep/{productionworkstepid}/machine
Content-Type: */*
...
HTTP/1.1 204 No Content