Proact

Overview

Here all available GKProact API calls are described and how to use them. APIs can read variuos data from GK proact system, can import variuos documents or other data and can preform various actions(functions) in the system without needing a user interface.

Production oder component allocation

This action can be used to allocate production order components through API.

Data must be sent using HTTP POST metod.
POST request body must contain production order data in selected format based on parameters.

URL structure if the system is deployed in client's server

http://`systemIP`:PortNumber/api/ItemAllocation/allocateProductionOrderComponents

URL structure if the system is deployed in GK Proact server

https://api.systemAddress/api/ItemAllocation/allocateProductionOrderComponents

Parameters

Parameters must be set in the "header" part of the POST:

XML

Tabs

XML

<?xml version="1.0" encoding="UTF-8"?>
<in>
	<documentNo>GU0000001</documentNo>
</in>

Data

Response

Responses are always returned with 200 HTTP code (even errors). If there was an error is is sent with 200 code and a detailed description of the error, examples below. Response format depends on the "Accept" parameter. If there was a 400 or 500 response, than an unexpected error occured.

<?xml version='1.0' encoding='UTF-8' ?>
<out>
    <status>success</status>
    <result/>
    <errorList/>
    <warningList/>
</out>
<?xml version='1.0' encoding='UTF-8' ?>
<out>
    <status>error</status>
    <result>ReceivedResult</result>
    <errorList>
        <error>Error1</error>
        <error>Error2</error>
    </errorList>
    <warningList>
    		<warning>Warning1</warning>
    </warningList>
</out>

JSON

Tabs

JSON

{"documentNo": "GU0000001"}

Data

Response

Responses are always returned with 200 HTTP code (even errors). If there was an error is is sent with 200 code and a detailed description of the error, examples below. Response format depends on the "Accept" parameter. If there was a 400 or 500 response, than an unexpected error occured.

{
    "status": "success",
    "result": null,
    "errorList": [],
    "warningList": []
}
{
    "status": "error",
    "result": "ReceivedResult",
    "errorList": [
        "Error1",
        "Error2"
    ],
    "warningList": [
    		"Warning1"
    ]
}

Changing the status of a production order

This action can be used to change status of a production order through API.

Data must be sent using HTTP POST metod.
POST request body must contain production order data in selected format based on parameters.

URL structure if the system is deployed in client's server

http://`systemIP`:PortNumber/api/ProductionOrder/setProductionOrderStatus

URL structure if the system is deployed in GK Proact server

https://api.systemAddress/api/ProductionOrder/setProductionOrderStatus

Parameters

Parameters must be set in the "header" part of the POST:

XML

Tabs

XML

<?xml version="1.0" encoding="UTF-8"?>
<in>
	<documentNo>GU0000001</documentNo>
  <status>CONFIRMED</status>
</in>

Data

Response

Responses are always returned with 200 HTTP code (even errors). If there was an error is is sent with 200 code and a detailed description of the error, examples below. Response format depends on the "Accept" parameter. If there was a 400 or 500 response, than an unexpected error occured.

<?xml version='1.0' encoding='UTF-8' ?>
<out>
    <status>success</status>
    <result/>
    <errorList/>
    <warningList/>
</out>
<?xml version='1.0' encoding='UTF-8' ?>
<out>
    <status>error</status>
    <result>ReceivedResult</result>
    <errorList>
        <error>Error1</error>
        <error>Error2</error>
    </errorList>
    <warningList>
    		<warning>Warning1</warning>
    </warningList>
</out>

JSON

Tabs

JSON

{"documentNo": "GU0000001", "status": "CONFIRMED"}

Data

Response

Responses are always returned with 200 HTTP code (even errors). If there was an error is is sent with 200 code and a detailed description of the error, examples below. Response format depends on the "Accept" parameter. If there was a 400 or 500 response, than an unexpected error occured.

{
    "status": "success",
    "result": null,
    "errorList": [],
    "warningList": []
}
{
    "status": "error",
    "result": "ReceivedResult",
    "errorList": [
        "Error1",
        "Error2"
    ],
    "warningList": [
    		"Warning1"
    ]
}

Production order operation registration

Here it is possible to register operations for a production order using REST API.

Data must be sent using HTTP POST metod.
POST request body must contain production order data in selected format based on parameters.

URL structure if the system is deployed in client's server

http://`systemIP`:PortNumber/api/ProductionOrder/createOutput

URL structure if the system is deployed in GK Proact server

https://api.systemAddress/api/ProductionOrder/createOutput

Parameters

Parameters must be set in the "header" part of the POST:

XML

Tabs

XML

<?xml version='1.0' encoding='UTF-8'?>
<in>
    <employeeCode>CodeOfEmployee</employeeCode>
    <documentNo>GU0000001</documentNo>
    <itemCode>0000010</itemCode>
    <itemCode2>ITEMCODE2</itemCode2>
    <variantCode>UNIT</variantCode>
    <quantity>100.50</quantity>
    <serialNumber>SR-000001</serialNumber>
    <batchNo>BAT-000001</batchNo>
    <productionDate>2023-06-10</productionDate>
    <expirationDate>2023-08-10</expirationDate>
    <sscc>100000000000000496</sscc>
</in>

Data

Response

Responses are always returned with 200 HTTP code (even errors). If there was an error is is sent with 200 code and a detailed description of the error, examples below. Response format depends on the "Accept" parameter. If there was a 400 or 500 response, than an unexpected error occured.

<?xml version='1.0' encoding='UTF-8' ?>
<out>
    <status>success</status>
    <result>
    	<id>6841967</id>
    </result>
    <errorList/>
    <warningList/>
</out>
<?xml version='1.0' encoding='UTF-8' ?>
<out>
    <status>error</status>
    <result>ReceivedResult</result>
    <errorList>
        <error>Error1</error>
        <error>Error2</error>
    </errorList>
    <warningList>
    		<warning>Warning1</warning>
    </warningList>
</out>

JSON

Tabs

JSON

{
	"employeeCode" : "CodeOfEmployee",
	"documentNo" : "GU0000001",
	"itemCode" : "0000010",
	"itemCode2" : "ITEMCODE2",
	"variantCode" : "UNIT",
	"quantity" : "100.50",
	"serialNumber" : "SR-000001",
	"batchNo" : "BAT-000001",
	"productionDate" : "2023-06-10",
	"expirationDate" : "2023-08-10",
	"sscc": "100000000000000496"
}

Data

Response

Responses are always returned with 200 HTTP code (even errors). If there was an error is is sent with 200 code and a detailed description of the error, examples below. Response format depends on the "Accept" parameter. If there was a 400 or 500 response, than an unexpected error occured.

{
    "status": "success",
    "result": {
        "id": 6841967
    },
    "errorList": [],
    "warningList": []
}
{
    "status": "error",
    "result": "ReceivedResult",
    "errorList": [
        "Error1",
        "Error2"
    ],
    "warningList": [
    		"Warning1"
    ]
}

Production order information

This inquiry can be used to fetch information about a production order and it's parts (packages, components, etc.)

Data must be sent using HTTP POST metod.
POST request body must contain production order data in selected format based on parameters.

URL structure if the system is deployed in client's server

http://`systemIP`:PortNumber/api/ProductionOrder/getProductionOrderData

URL structure if the system is deployed in GK Proact server

https://api.systemAddress/api/ProductionOrder/getProductionOrderData

Parameters

Parameters must be set in the "header" part of the POST:

XML

Tabs

XML

<?xml version="1.0" encoding="UTF-8"?>
<in>
    <documentNo>GU0000001</documentNo>
</in>

Data

Response

Responses are always returned with 200 HTTP code (even errors). If there was an error is is sent with 200 code and a detailed description of the error, examples below. Response format depends on the "Accept" parameter. If there was a 400 or 500 response, than an unexpected error occured. In this case the data of provided production order will be present in the result.

<?xml version='1.0' encoding='UTF-8' ?>
<out>
    <status>success</status>
    <result>
    		<productionOrder>
            <documentNo>GU0000001</documentNo>
            <productionOrderPackageList>
                <productionOrderPackage>
                    <itemCode>0000010</itemCode>
                    <itemCode2>ITEMCODE2</itemCode2>
                    <variantCode>UNIT</variantCode>
                    <unitOfMeasureCode>KG</unitOfMeasureCode>
                    <componentTemplateList>
                        <componentTemplate>
                            <itemCode>0000030</itemCode>
                            <itemCode2>COMPONENT1</itemCode2>
                            <variantCode>BAG</variantCode>
                            <unitOfMeasureCode>KG</unitOfMeasureCode>
                            <productionOrderComponentList>
                                <productionOrderComponent>
                                    <variantCode>BAG</variantCode>
                                    <unitOfMeasureCode>KG</unitOfMeasureCode>
                                    <quantity>15.4</quantity>
                                    <allocatedQuantity>0</allocatedQuantity>
                                    <consumedQuantity>13.7</consumedQuantity>
                                </productionOrderComponent>
                            </productionOrderComponentList>
                        </componentTemplate>
                    </componentTemplateList>
                </productionOrderPackage>
            </productionOrderPackageList>
        </productionOrder>
    </result>
    <errorList/>
    <warningList/>
</out>
<?xml version='1.0' encoding='UTF-8' ?>
<out>
    <status>error</status>
    <result>ReceivedResult</result>
    <errorList>
        <error>Error1</error>
        <error>Error2</error>
    </errorList>
    <warningList>
    		<warning>Warning1</warning>
    </warningList>
</out>

JSON

Tabs

JSON

{"documentNo": "GU0000001"}

Data

Response

Responses are always returned with 200 HTTP code (even errors). If there was an error is is sent with 200 code and a detailed description of the error, examples below. Response format depends on the "Accept" parameter. If there was a 400 or 500 response, than an unexpected error occured. In this case the data of provided production order will be present in the result.

{
    "status": "success",
    "result": {
    	"productionOrder": {
            "documentNo": "GU0000001",
            "productionOrderPackageList": [
                {
                    "itemCode": "0000010",
                    "itemCode2": "ITEMCODE2",
                    "variantCode": "UNIT",
                    "unitOfMeasureCode": "KG",
                    "componentTemplateList": [
                        {
                            "itemCode": "0000030",
                            "itemCode2": "COMPONENT1",
                            "variantCode": "BAG",
                            "unitOfMeasureCode": "KG",
                            "productionOrderComponentList": [
                                {
                                    "variantCode": "BAG",
                                    "unitOfMeasureCode": "KG",
                                    "quantity": "15.4",
                                    "allocatedQuantity": "0",
                                    "consumedQuantity": "13.7"
                                }
                            ]
                        }
                    ]
                }
            ]
        }
      },
    "errorList": [],
    "warningList": []
}

{
    "status": "error",
    "result": "ReceivedResult",
    "errorList": [
        "Error1",
        "Error2"
    ],
    "warningList": [
    		"Warning1"
    ]
}

Item availabilities by replenishment group

This inquiry allows to fetch data of item availabilities by replenishment group. Additional parameters can be provided in the post body to filter data.

Data must be sent using HTTP POST metod.
POST request body must contain production order data in selected format based on parameters.

URL structure if the system is deployed in client's server

http://`systemIP`:PortNumber/api/ProductionOrder/createOutput

URL structure if the system is deployed in GK Proact server

https://api.systemAddress/api/ProductionOrder/createOutput

Parameters

Parameters must be set in the "header" part of the POST:

XML

Tabs

XML

<?xml version='1.0' encoding='UTF-8'?>
<in>
    <worksheetName>CODE</worksheetName>
    <warehouseCode>WHSE-1</warehouseCode>
    <projectedQtyType>ALL</projectedQtyType>
    <excludePlannedSupply>true</excludePlannedSupply>
    <date>2023-10-10</date>
    <itemList>
			<item>
				<itemCode>000001</itemCode>
				<itemCode2>ITEM-1</itemCode2>
				<variantCode>UNIT</variantCode>
			</item>
		</itemList>
   	<itemReplenishmentGroupList>
			<itemReplenishmentGroup>Group-A</itemReplenishmentGroup>
      <itemReplenishmentGroup>Group-B</itemReplenishmentGroup>
		</itemReplenishmentGroupList>
</in>

Data

Response

Responses are always returned with 200 HTTP code (even errors). If there was an error is is sent with 200 code and a detailed description of the error, examples below. Response format depends on the "Accept" parameter. If there was a 400 or 500 response, than an unexpected error occured. In this case the data of provided production order will be present in the result.

<?xml version='1.0' encoding='UTF-8' ?>
<out>
    <status>success</status>
    <result>
    	<itemAvailabilityWorksheetLineList>
				<itemAvailabilityWorksheetLine>
					<date>2023-09-10</date>
					<warehouseCode>WHSE-1</warehouseCode>
					<itemCode>0000001</itemCode>
					<itemCode2>ITEM-1</itemCode2>
					<variantCode>UNIT</variantCode>
					<uomCode>UNIT</uomCode>
					<purchaseQty>500</purchaseQty>
					<salesQty>0</salesQty>
					<productionQty>0</productionQty>
					<componentQty>900</componentQty>
					<transferShipQty>0</transferShipQty>
					<transferReceiveQty>0</transferReceiveQty>
					<changeQty>-300</changeQty>
					<projectedQty>-300</projectedQty>
					<quantityOnHands>0</quantityOnHands>
				</itemAvailabilityWorksheetLine>
    	</itemAvailabilityWorksheetLineList>
    </result>
    <errorList/>
    <warningList/>
</out>
<?xml version='1.0' encoding='UTF-8' ?>
<out>
    <status>error</status>
    <result>ReceivedResult</result>
    <errorList>
        <error>Error1</error>
        <error>Error2</error>
    </errorList>
    <warningList>
    		<warning>Warning1</warning>
    </warningList>
</out>

JSON

Tabs

JSON

{
"worksheetName": "CODE",
"warehouseCode": "WHSE-1",
"projectedQtyType": "ALL",
"excludePlannedSupply": "true",
"date": "2023-10-10",
"itemList": [
   {"itemCode": "000001", "itemCode2": "ITEM-1", "variantCode": "UNIT"}
 ],
"itemReplenishmentGroupList": ["Group-A", "Group-B"]
}

Data

Response

Responses are always returned with 200 HTTP code (even errors). If there was an error is is sent with 200 code and a detailed description of the error, examples below. Response format depends on the "Accept" parameter. If there was a 400 or 500 response, than an unexpected error occured. In this case the data of provided production order will be present in the result.

{
    "status": "success",
    "result": { "itemAvailabilityWorksheetLineList":[
				{
					"date": "2023-09-10",
					"warehouseCode": "WHSE-1",
					"itemCode": "0000001",
					"itemCode2": "ITEM-1",
					"variantCode": "UNIT",
					"uomCode": "UNIT",
					"purchaseQty": "500",
					"salesQty": "0",
					"productionQty": "0",
					"componentQty": "900",
					"transferShipQty": "0",
					"transferReceiveQty": "0",
					"changeQty": "-300",
					"projectedQty": "-300",
					"quantityOnHands": "0"
				}
     	]
    }, 
    "errorList": [],
    "warningList": []
}
{
    "status": "error",
    "result": "ReceivedResult",
    "errorList": [
        "Error1",
        "Error2"
    ],
    "warningList": [
    		"Warning1"
    ]
}

Sales Invoice information

This inquiry allows to fetch data of sales invoices that are in the system.
Data must be sent using HTTP POST metod.
POST request body must contain sales invoice data in selected format based on parameters.

URL structure if the system is deployed in client's server

http://`systemIP`:PortNumber/api/SalesInvoice/getSalesInvoiceData

URL structure if the system is deployed in GK Proact server

https://api.systemAddress/api/SalesInvoice/getSalesInvoiceData

Parameters

Parameters must be set in the "header" part of the POST:

XML

Tabs

XML

<?xml version="1.0" encoding="UTF-8"?>
<in>
    <documentNo>SF00000009</documentNo>
</in>

Data

Response

Responses are always returned with 200 HTTP code (even errors). If there was an error is is sent with 200 code and a detailed description of the error, examples below. Response format depends on the "Accept" parameter. If there was a 400 or 500 response, than an unexpected error occured. In this case the data of provided production order will be present in the result.

<?xml version='1.0' encoding='UTF-8' ?>
<out>
    <status>success</status>
    <result>
        <documentNo>SF00000009</documentNo>
        <postingDate>2023-10-04T11:36:39</postingDate>
        <dueDate>2023-11-02T22:00:00</dueDate>
        <amount></amount>
        <vatAmount></vatAmount>
        <total></total>
        <currency>EUR</currency>
        <type></type>
        <paymentTerms>
            <code>30D</code>
            <description>30 dienų</description>
            <companyBankAccount>
                <bank>BANKAS</bank>
                <swift></swift>
                <iban>LT111111111111111111</iban>
            </companyBankAccount>
        </paymentTerms>
        <billToCustomer>
        		<code></code>
            <name></name>
            <address></address>
            <city></city>
            <country></country>
            <postalCode></postalCode>
            <email></email>
            <registrationNo></registrationNo>
            <vatcode></vatcode>
            <bankAccountList/>
        </billToCustomer>
        <shipToAddress>
            <code></code>
						<description></description>
						<address></address>
						<city></city>
						<country></country>
						<postalCode></postalCode>
						<email></email>
						<phoneNo></phoneNo>
						<responsibleEmployee></responsibleEmployee>
						<deliveryTimeInDays>0</deliveryTimeInDays>
						<ediIln></ediIln>
						<iVAZWarehouseID></iVAZWarehouseID>
						<apm></apm>	
        </shipToAddress>
        <salesInvoiceLineList>
            <salesInvoiceLine>
                <item>
                    <code></code>
                    <description></description>
                </item>
                <unitOfMeasure></unitOfMeasure>
                <quantity></quantity>
                <unitPrice></unitPrice>
                <lineAmount></lineAmount>
                <vatRate></vatRate>
                <vatAmount></vatAmount>
                <amountIncludingVat/>
                <positionNo/>
                <trackingDetailsList>
									<trackingDetails>
											<quantity></quantity>
											<lineAmount></lineAmount>
											<vatAmount></vatAmount>
											<amountIncludingVat/>
											<batchNo></batchNo>
											<serialNo/>
											<productionDate/>
											<expirationDate></expirationDate>
									</trackingDetails>
							</trackingDetailsList>
            </salesInvoiceLine>
        </salesInvoiceLineList>
    </result>
    <errorList/>
    <warningList/>
</out>
<?xml version='1.0' encoding='UTF-8' ?>
<out>
    <status>error</status>
    <result>GautasRezultatas</result>
    <errorList>
        <error>Klaida1</error>
        <error>Klaida2</error>
    </errorList>
    <warningList>
    		<warning>Įspėjimas</warning>
    </warningList>
</out>

JSON

Tabs

JSON

{"documentNo": "SF00000009"}

Data

Response

Responses are always returned with 200 HTTP code (even errors). If there was an error is is sent with 200 code and a detailed description of the error, examples below. Response format depends on the "Accept" parameter. If there was a 400 or 500 response, than an unexpected error occured. In this case the data of provided production order will be present in the result.

{
    "status": "success",
    "result": {
        "documentNo": "SF00000009",
        "postingDate": "2023-09-12T11:21:00",
        "dueDate": "2023-09-11T21:00:00",
        "amount": ,
        "vatAmount": ,
        "total": ,
        "currency": "EUR",
        "type": ,
        "paymentTerms": {
            "code": ,
            "description": ,
            "companyBankAccount": {
                "bank": ,
                "swift": ,
                "iban": 
            }
        },
        "billToCustomer": {
            "name": "",
            "address": "",
            "city": "",
            "country": "",
            "postalCode": ,
            "email": ,
            "registrationNo": ,
            "vatcode": ,
            "bankAccountList": [
            ]
        },
        "shipToAddress": {
            "address": "",
            "city": "",
            "country": "",
            "email": 
        },
        "salesInvoiceLineList": [
            {
                "item": {
                    "code": "",
                    "description": ""
                },
                "unitOfMeasure": "",
                "quantity": ,
                "unitPrice": ,
                "lineAmount": ,
                "vatRate": ,
                "vatAmount": ,
                "amountIncludingVat": ,
                "positionNo": 
                "trackingDetailsList":[
									{
										"quantity": 420.00000,
										"lineAmount": 541.80000,
										"vatAmount": 113.78000,
										"amountIncludingVat": null,
										"batchNo": "31.03.25/13.11",
										"serialNo": null,
										"productionDate": null,
										"expirationDate": "2025-03-30T21:00:00"
									}
								]
            },
        ]
    },
    "errorList": [
    ],
    "warningList": [
    ]
}

Purchase Invoice information

This inquiry allows to fetch data of sales invoices that are in the system.
Data must be sent using HTTP POST metod.
POST request body must contain data in selected format based on parameters.

URL structure if the system is deployed in client's server

http://`systemIP`:PortNumber/api/PurchaseInvoice/getPurchaseInvoiceData

URL structure if the system is deployed in GK Proact server

https://api.systemAddress/api/PurchaseInvoice/getPurchaseInvoiceData

Parameters

Parameters must be set in the "header" part of the POST:

XML

Tabs

XML

<?xml version="1.0" encoding="UTF-8"?>
<in>
    <documentNo>SF00000004</documentNo>
</in>

Data

Response

Responses are always returned with 200 HTTP code (even errors). If there was an error is is sent with 200 code and a detailed description of the error, examples below. Response format depends on the "Accept" parameter. If there was a 400 or 500 response, than an unexpected error occured.

<?xml version='1.0' encoding='UTF-8' ?>
<out>
    <status>success</status>
    <result>
        <documentNo></documentNo>
        <postingDate>2023-10-17T21:00:00</postingDate>
        <dueDate/>
        <amount></amount>
        <vatAmount></vatAmount>
        <total></total>
        <currency></currency>
        <type></type>
        <businessPartnerVATGroup>
            <code></code>
            <description></description>
            <vatSumType></vatSumType>
            <vatGroupType></vatGroupType>
        </businessPartnerVATGroup>
        <paymentTerms>
            <code></code>
            <description></description>
            <companyBankAccount>
                <bank></bank>
                <swift></swift>
                <iban></iban>
            </companyBankAccount>
        </paymentTerms>
        <billFromVendor>
        		<code></code>
            <name></name>
            <address></address>
            <city></city>
            <country></country>
            <postalCode></postalCode>
            <email></email>
            <registrationNo></registrationNo>
            <vatcode></vatcode>
            <bankAccountList></bankAccountList>
        </billFromVendor>
        <purchaseInvoiceLineList>
            <purchaseInvoiceLine>
                <item>
                    <code></code>
                    <description></description>
                </item>
                <unitOfMeasure></unitOfMeasure>
                <quantity></quantity>
                <unitPrice></unitPrice>
                <lineAmount></lineAmount>
                <vatRate></vatRate>
                <vatAmount></vatAmount>
                <amountIncludingVat></amountIncludingVat>
                <positionNo></positionNo>
            </purchaseInvoiceLine>
        </purchaseInvoiceLineList>
    </result>
    <errorList/>
    <warningList/>
</out>
<?xml version='1.0' encoding='UTF-8' ?>
<out>
    <status>error</status>
    <result>GautasRezultatas</result>
    <errorList>
        <error>Klaida1</error>
        <error>Klaida2</error>
    </errorList>
    <warningList>
    		<warning>Įspėjimas</warning>
    </warningList>
</out>

JSON

Tabs

JSON

{"documentNo": "SF00000004"}

Data

Response

Responses are always returned with 200 HTTP code (even errors). If there was an error is is sent with 200 code and a detailed description of the error, examples below. Response format depends on the "Accept" parameter. If there was a 400 or 500 response, than an unexpected error occured.

{
    "status": "success",
    "result": {
        "documentNo": "",
        "postingDate": "",
        "dueDate": ,
        "amount": ,
        "vatAmount": ,
        "total": ,
        "currency": "",
        "type": ,
        "businessPartnerVATGroup": {
            "code": "",
            "description": "",
            "vatSumType": ,
            "vatGroupType": 
        },
        "paymentTerms": {
            "code": ,
            "description": ,
            "companyBankAccount": {
                "bank": ,
                "swift": ,
                "iban": 
            }
        },
        "billFromVendor": {
        		"code": "",
            "name": "",
            "address": "",
            "city": "",
            "country": "",
            "postalCode": "",
            "email": "",
            "registrationNo": "",
            "vatcode": "",
            "bankAccountList": [
            ]
        },
        "purchaseInvoiceLineList": [
            {
                "item": {
                    "code": "",
                    "description": ""
                },
                "unitOfMeasure": "",
                "quantity": ,
                "unitPrice": ,
                "lineAmount": ,
                "vatRate": ,
                "vatAmount": ,
                "amountIncludingVat": ,
                "positionNo": 
            },
        ]
    },
    "errorList": [
    ],
    "warningList": [
    ]
}

Warehouse Entry Information

This inquiry allows to fetch data of warehouse entries that are in the system.

Data must be sent using HTTP POST metod.
POST request body must contain data in selected format based on parameters.

URL structure if the system is deployed in client's server

http://`systemIP`:PortNumber/api/WarehouseEntry/getWarehouseEntryData

URL structure if the system is deployed in GK Proact server

https://api.systemAddress/api/WarehouseEntry/getWarehouseEntryData

Parameters

Parameters must be set in the "header" part of the POST:

XML

Tabs

XML

<?xml version="1.0" encoding="UTF-8"?>
<in>
    <recordId>133681988</recordId>
</in>

Data

Response

Responses are always returned with 200 HTTP code (even errors). If there was an error is is sent with 200 code and a detailed description of the error, examples below. Response format depends on the "Accept" parameter. If there was a 400 or 500 response, than an unexpected error occured.

<?xml version='1.0' encoding='UTF-8'?>
<out>
    <status>success</status>
    <result>
        <warehouseEntry>
            <id></id>
            <documentNo></documentNo>
            <warehouseDocumentType></warehouseDocumentType>
            <postingDate></postingDate>
            <employee></employee>
            <itemCode></itemCode>
            <itemCode2></itemCode2>
            <itemDescription></itemDescription>
            <variant></variant>
            <quantity></quantity>
            <warehouse></warehouse>
            <fullPallet></fullPalllet>
            <fromLogisticUnit></fromLogisticUnit>
            <toLogisticUnit></toLogisticUnit>
            <fromLocation></fromLocation>
            <toLocation></toLocation>
            <fromZone></fromZone>
            <toZone></toZone>
            <fromZoneGroup></fromZoneGroup>
            <toZoneGroup></toZoneGroup>
            <fromBatchNo></fromBatchNo>
            <toBatchNo></toBatchNo>
            <fromSerialNo></fromSerialNo>
            <toSerialNo></toSerialNo>
            <fromExpirationDate></fromExpirationDate>
            <toExpirationDate></toExpirationDate>
            <fromProductionDate></fromProductionDate>
            <toProductionDate></toProductionDate>
        </warehouseEntry>
    </result>
    <errorList/>
    <warningList/>
</out>
<?xml version='1.0' encoding='UTF-8' ?>
<out>
    <status>error</status>
    <result>GautasRezultatas</result>
    <errorList>
        <error>Klaida1</error>
        <error>Klaida2</error>
    </errorList>
    <warningList>
    		<warning>Įspėjimas</warning>
    </warningList>
</out>

JSON

Tabs

JSON

{"recordId": 133681988}

Data

Response

Responses are always returned with 200 HTTP code (even errors). If there was an error is is sent with 200 code and a detailed description of the error, examples below. Response format depends on the "Accept" parameter. If there was a 400 or 500 response, than an unexpected error occured.

{
    "status": "success",
    "result": {
        "warehouseEntry": {
            "id": ,
            "documentNo": "",
            "warehouseDocumentType": "",
            "postingDate": "",
            "employee": "",
            "itemCode": "",
            "itemCode2": "",
            "itemDescription": "",
            "variant": "",
            "quantity": ,
            "warehouse": "",
            "fullPallet": ,
            "fromLogisticUnit": "",
            "toLogisticUnit": "",
            "fromLocation": "",
            "toLocation": "",
            "fromZone": "",
            "toZone": "",
            "fromZoneGroup": ,
            "toZoneGroup": ,
            "fromBatchNo": "",
            "toBatchNo": "",
            "fromSerialNo": ,
            "toSerialNo": ,
            "fromExpirationDate": "",
            "toExpirationDate": "",
            "fromProductionDate": "",
            "toProductionDate": ""
        }
    },
    "errorList": [
    ],
    "warningList": [
    ]
}

Item Information

This inquiry allows to fetch data of warehouse entries that are in the system.

Data must be sent using HTTP POST metod.
POST request body must contain data in selected format based on parameters.

URL structure if the system is deployed in client's server

http://`systemIP`:PortNumber/api/Item/getItemData

URL structure if the system is deployed in GK Proact server

https://api.systemAddress/api/Item/getItemData

Parameters

Parameters must be set in the "header" part of the POST:

XML

Tabs

XML

<?xml version="1.0" encoding="UTF-8"?>
<in>
    <recordId>108347</recordId>
    <code>6010052</code>
</in>

Data

Response

Responses are always returned with 200 HTTP code (even errors). If there was an error is is sent with 200 code and a detailed description of the error, examples below. Response format depends on the "Accept" parameter. If there was a 400 or 500 response, than an unexpected error occured.

<?xml version='1.0' encoding='UTF-8' ?>
<out>
    <status>success</status>
    <result>
        <item>
            <code></code>
            <code2></code2>
            <description></description>
            <unitOfMeasure></unitOfMeasure>
            <itemInventoryGroup></itemInventoryGroup>
            <itemType></itemType>
            <projectItem></projectItem>
            <countryOfOrigin></countryOfOrigin>
            <itemCategory></itemCategory>
            <itemProductGroup></itemProductGroup>
            <itemGroup></itemGroup>
            <itemSubgroup></itemSubgroup>
            <status></status>
            <eanBarcode></eanBarcode>
            <producerName></producerName>
            <producerModel></producerModel>
            <hsCode></hsCode>
            <warehouseClass></warehouseClass>
            <itemTrackingGroup></itemTrackingGroup>
            <itemWarehousingGroup></itemWarehousingGroup>
            <crushingResistanceLevel></crushingResistanceLevel>
            <itemMaturity></itemMaturity>
            <numberOfPackages></numberOfPackages>
            <unitVolume></unitVolume>
            <positionNoInSalesSet></positionNoInSalesSet>
            <positionsNumberInSalesSet></positionsNumberInSalesSet>
            <numberOfItemsPerPallet></numberOfItemsPerPallet>
            <numberOfItemsPerPacket></numberOfItemsPerPacket>
            <weightNetto></weightNetto>
            <weightBrutto></weightBrutto>
            <projectCode></projectCode>
            <configurationKey></configurationKey>
            <labelType></labelType>
            <labelNumberOfCopies></labelNumberOfCopies>
            <labelShowProducer></labelShowProducer>
            <printProductLabelOnShipment></printProductLabelOnShipment>
            <itemReplenishmentGroup></itemReplenishmentGroup>
            <productionBOM></productionBOM>
            <productionBOMVersion></productionBOMVersion>
            <productionRoute></productionRoute>
            <productionRouteVersion></productionRouteVersion>
            <defaultComponentGroup></defaultComponentGroup>
            <itemFamily></itemFamily>
            <defaultAssemblyZone></defaultAssemblyZone>
            <qualityTree></qualityTree>
            <intrastatCode></intrastatCode>
            <doNotUseInShipmentPick></doNotUseInShipmentPick>
            <doNotCountPackageInShipment></doNotCountPackageInShipment>
            <doNotCountPalletsInShipment></doNotCountPalletsInShipment>
            <itemVATGroup></itemVATGroup>
            <variantList>
                <variant>
                    <code></code>
                    <description></description>
                    <barCode></barCode>
                    <configurationKey></configurationKey>
                    <countryOfOrigin></countryOfOrigin>
                    <standardText></standardText>
                    <quantityPerBaseUnitOfMeasure></quantityPerBaseUnitOfMeasure>
                    <baseUnitOfMeasure></baseUnitOfMeasure>
                    <productVariant></productVariant>
                    <defaultSalesUnitOfMeasure></defaultSalesUnitOfMeasure>
                    <defaultPurchaseUnitOfMeasure></defaultPurchaseUnitOfMeasure>
                    <defaultProductionUnitOfMeasure></defaultProductionUnitOfMeasure>
                    <defaultConsumptionUnitOfMeasure></defaultConsumptionUnitOfMeasure>
                    <replenishmentGroup></replenishmentGroup>
                    <length></length>
                    <width></width>
                    <height></height>
                    <cubage></cubage>
                    <weightNetto></weightNetto>
                    <weightBrutto></weightBrutto>
                    <area></area>
                    <numberOfItemsPerPallet></numberOfItemsPerPallet>
                    <numberOfItemsPerPacket></numberOfItemsPerPacket>
                    <standardCost></standardCost>
                    <productionBOM></productionBOM>
                    <productionBOMVersion></productionBOMVersion>
                    <productionRoute></productionRoute>
                    <productionRouteVersion></productionRouteVersion>
                </variant>
            </variantList>
            <propertyList>
								<property>
                    <itemProperty></itemProperty>
                    <value></value>
                    <quantity></quantity>
                </property>
						</propertyList>
            <supplierList>
                <supplier>
                    <businessPartner></businessPartner>
                    <active>true</active>
                    <itemCode></itemCode>
                    <itemDescription></itemDescription>
                    <businessPartnerRating/>
                    <deliveryPeriodInDays></deliveryPeriodInDays>
                </supplier>
						</supplierList>
            <externalDescriptionList>
                <externalDescription>
                    <businessPartner></businessPartner>
                    <variant></variant>
                    <retailChain></retailChain>
                    <language>lt</language>
                    <code></code>
                    <code2></code2>
                    <description></description>
                    <description2></description2>
                    <description3></description3>
                    <barcode></barcode>
                    <barcode2></barcode2>
                    <detailedDescription></detailedDescription>
                </externalDescription>
            </externalDescriptionList>
            <conversionList>
                <conversion>
                    <code>sw</code>
                    <unitOfMeasure>KG</unitOfMeasure>
                    <conversionCoefficient>1.00000</conversionCoefficient>
                </conversion>
						</conversionList>
        </item>
    </result>
    <errorList/>
    <warningList/>
</out>

<?xml version='1.0' encoding='UTF-8' ?>
<out>
    <status>error</status>
    <result>GautasRezultatas</result>
    <errorList>
        <error>Klaida1</error>
        <error>Klaida2</error>
    </errorList>
    <warningList>
    		<warning>Įspėjimas</warning>
    </warningList>
</out>

JSON

Tabs

JSON

{"recordId": 108347, "code": "6010052"}

Data

Response

Responses are always returned with 200 HTTP code (even errors). If there was an error is is sent with 200 code and a detailed description of the error, examples below. Response format depends on the "Accept" parameter. If there was a 400 or 500 response, than an unexpected error occured.

{
    "status": "success",
    "result": {
        "item": {
            "code": "",
            "code2": "",
            "description": "",
            "unitOfMeasure": "",
            "itemInventoryGroup": "",
            "itemType": ,
            "projectItem": ,
            "countryOfOrigin": ,
            "itemCategory": ,
            "itemProductGroup": ,
            "itemGroup": "",
            "itemSubgroup": "",
            "status": ,
            "eanBarcode": ,
            "producerName": ,
            "producerModel": ,
            "hsCode": ,
            "warehouseClass": ,
            "itemTrackingGroup": "",
            "itemWarehousingGroup": ,
            "crushingResistanceLevel": ,
            "itemMaturity": ,
            "numberOfPackages": ,
            "unitVolume": ,
            "positionNoInSalesSet": ,
            "positionsNumberInSalesSet": ,
            "numberOfItemsPerPallet": ,
            "numberOfItemsPerPacket": ,
            "weightNetto": ,
            "weightBrutto": ,
            "projectCode": ,
            "configurationKey": ,
            "labelType": ,
            "labelNumberOfCopies": ,
            "labelShowProducer": ,
            "printProductLabelOnShipment": ,
            "itemReplenishmentGroup": "",
            "productionBOM": ,
            "productionBOMVersion": ,
            "productionRoute": ,
            "productionRouteVersion": ,
            "defaultComponentGroup": ,
            "itemFamily": ,
            "defaultAssemblyZone": ,
            "qualityTree": ,
            "intrastatCode": ,
            "doNotUseInShipmentPick": ,
            "doNotCountPackageInShipment": ,
            "doNotCountPalletsInShipment": ,
            "itemVATGroup": "",
            "variantList": [
                {
                    "code": "",
                    "description": "",
                    "barCode": "",
                    "configurationKey": ,
                    "countryOfOrigin": ,
                    "standardText": ,
                    "quantityPerBaseUnitOfMeasure": ,
                    "baseUnitOfMeasure": ,
                    "productVariant": ,
                    "defaultSalesUnitOfMeasure": ,
                    "defaultPurchaseUnitOfMeasure": ,
                    "defaultProductionUnitOfMeasure": ,
                    "defaultConsumptionUnitOfMeasure": ,
                    "replenishmentGroup": ,
                    "length": ,
                    "width": ,
                    "height": ,
                    "cubage": ,
                    "weightNetto": ,
                    "weightBrutto": ,
                    "area": ,
                    "numberOfItemsPerPallet": ,
                    "numberOfItemsPerPacket": ,
                    "standardCost": ,
                    "productionBOM": "",
                    "productionBOMVersion": "",
                    "productionRoute": "",
                    "productionRouteVersion": ""
                }
            ],
            "propertyList": [
                {
                    "itemProperty": "",
                    "value": "",
                    "quantity": 
                }
            ],
            "supplierList": [
                {
                    "businessPartner": "",
                    "active": ,
                    "itemCode": "",
                    "itemDescription": "",
                    "businessPartnerRating": ,
                    "deliveryPeriodInDays": 
                }
            ],
            "externalDescriptionList": [
                {
                    "businessPartner": ,
                    "variant": ,
                    "retailChain": ,
                    "language": "",
                    "code": ,
                    "code2": ,
                    "description": "",
                    "description2": "",
                    "description3": ,
                    "barcode": "",
                    "barcode2": ,
                    "detailedDescription": 
                },
                {
                    "businessPartner": ,
                    "variant": ,
                    "retailChain": ,
                    "language": "",
                    "code": ,
                    "code2": ,
                    "description": "",
                    "description2": "",
                    "description3": ,
                    "barcode": "",
                    "barcode2": ,
                    "detailedDescription": 
                },
                {
                    "businessPartner": ,
                    "variant": ,
                    "retailChain": ,
                    "language": "",
                    "code": ,
                    "code2": ,
                    "description": "",
                    "description2": "",
                    "description3": ,
                    "barcode": "",
                    "barcode2": ,
                    "detailedDescription": 
                }
            ],
            "conversionList": [
                {
                    "code": "",
                    "unitOfMeasure": "",
                    "conversionCoefficient": 
                }
            ]
        }
    },
    "errorList": [
    ],
    "warningList": [
    ]
}

Business Partner Information

This inquiry allows to fetch data of business partners that are in the system.

Data must be sent using HTTP POST metod.
POST request body must contain data in selected format based on parameters.

URL structure if the system is deployed in client's server

http://`systemIP`:PortNumber/api/BusinessPartner/getBusinessPartnerData

URL structure if the system is deployed in GK Proact server

https://api.systemAddress/api/BusinessPartner/getBusinessPartnerData

Parameters

Parameters must be set in the "header" part of the POST:

XML

Tabs

XML

<?xml version="1.0" encoding="UTF-8"?>
<in>
    <recordId>216658</recordId>
    <code>746</code>
</in>

Data

Response

Responses are always returned with 200 HTTP code (even errors). If there was an error is is sent with 200 code and a detailed description of the error, examples below. Response format depends on the "Accept" parameter. If there was a 400 or 500 response, than an unexpected error occured.

<?xml version='1.0' encoding='UTF-8' ?>
<out>
    <status>success</status>
    <result>
        <businessPartner>
            <code></code>
            <name></name>
            <externalCode></externalCode>
            <businessPartnerGroup></businessPartnerGroup>
            <address></address>
            <city></city>
            <country></country>
            <postalCode></postalCode>
            <email></email>
            <phoneNo></phoneNo>
            <registrationNo></registrationNo>
            <language></language>
            <purchaseWarehouse></purchaseWarehouse>
            <defaultPurchaseWarehouse></defaultPurchaseWarehouse>
            <purchasePaymentTerms></purchasePaymentTerms>
            <purchaseShipmentMethod></purchaseShipmentMethod>
            <purchaseResponsibleEmployee></purchaseResponsibleEmployee>
            <isVendor></isVendor>
            <isCarrier></isCarrier>
            <salesWarehouse></salesWarehouse>
            <defaultSalesWarehouse></defaultSalesWarehouse>
            <salesPaymentTerms></salesPaymentTerms>
            <salesShipmentMethod></salesShipmentMethod>
            <salesAccountManager></salesAccountManager>
            <salesResponsibleEmployee></salesResponsibleEmployee>
            <isCustomer></isCustomer>
            <calculatePalletsAfterShipmentFinished></calculatePalletsAfterShipmentFinished>
            <sendQualityReport></sendQualityReport>
            <onlyOneExpirationDatePerItemOnLogisticUnit></onlyOneExpirationDatePerItemOnLogisticUnit>
            <defaultLogisticLabel></defaultLogisticLabel>
            <retailChain></retailChain>
            <salesCreditLimit></salesCreditLimit>
            <salesInvoiceToBusinessPartner></salesInvoiceToBusinessPartner>
            <salesInvoiceDocumentNoCounter></salesInvoiceDocumentNoCounter>
            <businessPartnerVATGroup></businessPartnerVATGroup>
            <shipmentSalesInvoiceGrouping></shipmentSalesInvoiceGrouping>
            <currency></currency>
            <expirationPeriodRequirement></expirationPeriodRequirement>
            <itemAllocationAlgorithm></itemAllocationAlgorithm>
            <tracked></tracked>
            <productionCoverageDays></productionCoverageDays>
            <ediIln></ediIln>
            <vatcode></vatcode>
            <eoircode></eoircode>
            <bankAccountList>
                <bankAccount>
                    <code></code>
                    <bank></bank>
                    <iban></iban>
                    <swift></swift>
                    <mainAccount></mainAccount>
                </bankAccount>
            </bankAccountList>
            <shipToAddressList>
                <shipToAddress>
                    <code></code>
                    <description></description>
                    <address></address>
                    <city></city>
                    <country></country>
                    <postalCode></postalCode>
                    <email></email>
                    <phoneNo></phoneNo>
                    <responsibleEmployee></responsibleEmployee>
                    <deliveryTimeInDays></deliveryTimeInDays>
                    <ediIln></ediIln>
                    <iVAZWarehouseID></iVAZWarehouseID>
                    <apm></apm>
                </shipToAddress>
            </shipToAddressList>
        </businessPartner>
    </result>
    <errorList/>
    <warningList/>
</out>

<?xml version='1.0' encoding='UTF-8' ?>
<out>
    <status>error</status>
    <result>GautasRezultatas</result>
    <errorList>
        <error>Klaida1</error>
        <error>Klaida2</error>
    </errorList>
    <warningList>
    		<warning>Įspėjimas</warning>
    </warningList>
</out>

JSON

Tabs

JSON

{"recordId": 108347, "code": "6010052"}

Data

Response

Responses are always returned with 200 HTTP code (even errors). If there was an error is is sent with 200 code and a detailed description of the error, examples below. Response format depends on the "Accept" parameter. If there was a 400 or 500 response, than an unexpected error occured.

{
    "status": "success",
    "result": {
        "businessPartner": {
            "code": "",
            "name": "",
            "externalCode": ,
            "businessPartnerGroup": ,
            "address": "",
            "city": ".",
            "country": "",
            "postalCode": "",
            "email": "",
            "phoneNo": "",
            "registrationNo": "",
            "language": ,
            "purchaseWarehouse": "",
            "defaultPurchaseWarehouse": ,
            "purchasePaymentTerms": ,
            "purchaseShipmentMethod": ,
            "purchaseResponsibleEmployee": ,
            "isVendor": ,
            "isCarrier": ,
            "salesWarehouse": "",
            "defaultSalesWarehouse": ,
            "salesPaymentTerms": ,
            "salesShipmentMethod": ,
            "salesAccountManager": ,
            "salesResponsibleEmployee": ,
            "isCustomer": ,
            "calculatePalletsAfterShipmentFinished": ,
            "sendQualityReport": ,
            "onlyOneExpirationDatePerItemOnLogisticUnit": ,
            "defaultLogisticLabel": ,
            "retailChain": ,
            "salesCreditLimit": ,
            "salesInvoiceToBusinessPartner": ,
            "salesInvoiceDocumentNoCounter": ,
            "businessPartnerVATGroup": ,
            "shipmentSalesInvoiceGrouping": ,
            "currency": ,
            "expirationPeriodRequirement": ,
            "itemAllocationAlgorithm": ,
            "tracked": ,
            "productionCoverageDays": ,
            "ediIln": ,
            "vatcode": "",
            "eoircode": ,
            "bankAccountList": [
                {
                    "code": "",
                    "bank": "",
                    "iban": "",
                    "swift": "",
                    "mainAccount": 
                }
            ],
            "shipToAddressList": [
                {
                    "code": "",
                    "description": "",
                    "address": "",
                    "city": "",
                    "country": "",
                    "postalCode": "",
                    "email": "",
                    "phoneNo": "",
                    "responsibleEmployee": ,
                    "deliveryTimeInDays": ,
                    "ediIln": ,
                    "iVAZWarehouseID": ,
                    "apm": 
                }
            ]
        }
    },
    "errorList": [
    ],
    "warningList": [
    ]
}

Package Correction Information

This inquiry allows to fetch data of package corrections that are in the system.

Data must be sent using HTTP POST metod.
POST request body must contain data in selected format based on parameters.

URL structure if the system is deployed in client's server

http://`systemIP`:PortNumber/api/PackageCorrection/getPackageCorrectionsData

URL structure if the system is deployed in GK Proact server

https://api.systemAddress/api/PackageCorrection/getPackageCorrectionsData

Parameters

Parameters must be set in the "header" part of the POST:

XML

Tabs

XML

<?xml version='1.0' encoding='UTF-8' ?>
<out>
<fromDate>2023-05-15</fromDate>
<toDate>2023-05-16</toDate>
</out>
-----------------------------
<?xml version='1.0' encoding='UTF-8' ?>
<out>
<documentNo>PC0000198</documentNo>
</out>
----------------------------
<?xml version='1.0' encoding='UTF-8' ?>
<out>
<documentId>4851112</documentId>
</out>

Data

Data

Response

Responses are always returned with 200 HTTP code (even errors). If there was an error is is sent with 200 code and a detailed description of the error, examples below. Response format depends on the "Accept" parameter. If there was a 400 or 500 response, than an unexpected error occured.

<?xml version='1.0' encoding='UTF-8'?>
<out>
  <status>success</status>
  <result>
    <packageCorrectionList>
      <packageCorrection>
        <documentId></documentId>
        <documentNo></documentNo>
        <postingDate></postingDate>
        <sscc></sscc>
        <serialNo></serialNo>
        <itemCode></itemCode>
        <itemCode2></itemCode2>
        <itemDescription></itemDescription>
        <warehouse></warehouse>
        <location></location>
        <locationExternalDescription></locationExternalDescription>
        <zone></zone>
        <zoneExternalDescription></zoneExternalDescription>
        <zoneGroup></zoneGroup>
        <employee></employee>
        <packageCorrectionReason></packageCorrectionReason>
        <comment></comment>
        <oldVariant></oldVariant>
        <newVariant></newVariant>
        <oldQuantity></oldQuantity>
        <newQuantity></newQuantity>
        <quantityDifference></quantityDifference>
        <oldBatchNo></oldBatchNo>
        <newBatchNo></newBatchNo>
        <oldExpirationDate></oldExpirationDate>
        <newExpirationDate></newExpirationDate>
        <oldDateProduced></oldDateProduced>
        <newDateProduced></newDateProduced>
        <oldWeight></oldWeight>
        <newWeight></newWeight>
        <weightDifference></weightDifference>
        <oldItemQualityStatus></oldItemQualityStatus>
        <newItemQualityStatus></newItemQualityStatus>
        <oldItemMaturityStage></oldItemMaturityStage>
        <newItemMaturityStage></newItemMaturityStage>
      </packageCorrection>
    </packageCorrectionList>
  </result>
  <errorList/>
  <warningList/>
</out>

<?xml version='1.0' encoding='UTF-8' ?>
<out>
    <status>error</status>
    <result>GautasRezultatas</result>
    <errorList>
        <error>Klaida1</error>
        <error>Klaida2</error>
    </errorList>
    <warningList>
    		<warning>Įspėjimas</warning>
    </warningList>
</out>

JSON

Tabs

JSON

{"fromDate": "2023-05-15", "toDate": "2023-05-16"}
-----------------------
{"documentNo": "PC0000198"}
----------------------
{"documentId": "4851112"}

Data

Response

Responses are always returned with 200 HTTP code (even errors). If there was an error is is sent with 200 code and a detailed description of the error, examples below. Response format depends on the "Accept" parameter. If there was a 400 or 500 response, than an unexpected error occured.

{
  "status" : "success",
  "result" : {
    "packageCorrectionList" : [ {
      "documentId" : ,
      "documentNo" : "",
      "postingDate" : "2021-12-14T04:17:32",
      "sscc" : "",
      "serialNo" : "",
      "itemCode" : "",
      "itemCode2" : "",
      "itemDescription" : " “”",
      "warehouse" : "SAND01",
      "location" : "DC",
      "locationExternalDescription" : "",
      "zone" : "",
      "zoneExternalDescription" : "",
      "zoneGroup" : "",
      "employee" : "00020",
      "packageCorrectionReason" : "NURASYMAS11",
      "comment" : "PAJAMAVIMO KLAIDA",
      "oldVariant" : "VNT",
      "newVariant" : "VNT",
      "oldQuantity" : 768.00000,
      "newQuantity" : 0.00000,
      "quantityDifference" : -768.00000,
      "oldBatchNo" : "",
      "newBatchNo" : "",
      "oldExpirationDate" : "2023-12-12T22:00:00",
      "newExpirationDate" : "2023-12-12T22:00:00",
      "oldDateProduced" : "2021-12-12T22:00:00",
      "newDateProduced" : "2021-12-12T22:00:00",
      "oldWeight" : 0.00000,
      "newWeight" : 0.00000,
      "weightDifference" : 0.00000,
      "oldItemQualityStatus" : "",
      "newItemQualityStatus" : "",
      "oldItemMaturityStage" : "",
      "newItemMaturityStage" : ""
    } ]
  },
  "errorList" : [ ],
  "warningList" : [ ]
}

Business Partner Ship To Adress Information

This inquiry allows to fetch data of business partner ship to adresses that are in the system.

Data must be sent using HTTP POST metod.
POST request body must contain data in selected format based on parameters.

URL structure if the system is deployed in client's server

http://`systemIP`:PortNumber/api/BusinessPartner/getShipToAddressData

URL structure if the system is deployed in GK Proact server

https://api.systemAddress/api/BusinessPartner/getShipToAddressData

Parameters

Parameters must be set in the "header" part of the POST:

XML

Tabs

XML

<out>
	<recordId></recordId>
</out>

Data

Response

Responses are always returned with 200 HTTP code (even errors). If there was an error is is sent with 200 code and a detailed description of the error, examples below. Response format depends on the "Accept" parameter. If there was a 400 or 500 response, than an unexpected error occured.

<?xml version='1.0' encoding='UTF-8' ?>
<out>
    <status>success</status>
    <result>
        <businessPartner>
        		<id></id>
            <code></code>
            <name></name>
       </businessPartner>
       <shipToAddress>
                    <code></code>
                    <description></description>
                    <address></address>
                    <city></city>
                    <country></country>
                    <postalCode></postalCode>
                    <email></email>
                    <phoneNo></phoneNo>
                    <responsibleEmployee></responsibleEmployee>
                    <deliveryTimeInDays></deliveryTimeInDays>
                    <ediIln></ediIln>
                    <iVAZWarehouseID></iVAZWarehouseID>
                    <apm></apm>
         </shipToAddress>
    </result>
    <errorList/>
    <warningList/>
</out>

<?xml version='1.0' encoding='UTF-8' ?>
<out>
    <status>error</status>
    <result>GautasRezultatas</result>
    <errorList>
        <error>Klaida1</error>
        <error>Klaida2</error>
    </errorList>
    <warningList>
    		<warning>Įspėjimas</warning>
    </warningList>
</out>

JSON

Tabs

JSON

{"recordId": 108347}

Data

Response

Responses are always returned with 200 HTTP code (even errors). If there was an error is is sent with 200 code and a detailed description of the error, examples below. Response format depends on the "Accept" parameter. If there was a 400 or 500 response, than an unexpected error occured.

{
    "status": "success",
    "result": {
        "businessPartner": {
        		"id": "",
            "code": "",
            "name": "",
        },
       "shipToAddress": [
                {
                    "code": "",
                    "description": "",
                    "address": "",
                    "city": "",
                    "country": "",
                    "postalCode": "",
                    "email": "",
                    "phoneNo": "",
                    "responsibleEmployee": ,
                    "deliveryTimeInDays": ,
                    "ediIln": ,
                    "iVAZWarehouseID": ,
                    "apm": 
                }
            ]
        }
    },
    "errorList": [
    ],
    "warningList": [
    ]
}

Variant Information

This inquiry allows to fetch data of item variants that are in the system.

Data must be sent using HTTP POST metod.
POST request body must contain data in selected format based on parameters.

URL structure if the system is deployed in client's server

http://`systemIP`:PortNumber/api/Item/getVariantData

URL structure if the system is deployed in GK Proact server

https://api.systemAddress/api/Item/getVariantData

Parameters

Parameters must be set in the "header" part of the POST:

XML

Tabs

XML

<out>
	<recordId>47059</recordId>
</out>

Data

Response

Responses are always returned with 200 HTTP code (even errors). If there was an error is is sent with 200 code and a detailed description of the error, examples below. Response format depends on the "Accept" parameter. If there was a 400 or 500 response, than an unexpected error occured.

<?xml version='1.0' encoding='UTF-8' ?>
<out>
    <status>success</status>
    <result>
        <item>
        		<id></id>
            <code></code>
            <code2></code2>
            <description></description>
        </item>
        <variant>
                    <code></code>
                    <description></description>
                    <barCode></barCode>
                    <configurationKey></configurationKey>
                    <countryOfOrigin></countryOfOrigin>
                    <standardText></standardText>
                    <quantityPerBaseUnitOfMeasure></quantityPerBaseUnitOfMeasure>
                    <baseUnitOfMeasure></baseUnitOfMeasure>
                    <productVariant></productVariant>
                    <defaultSalesUnitOfMeasure></defaultSalesUnitOfMeasure>
                    <defaultPurchaseUnitOfMeasure></defaultPurchaseUnitOfMeasure>
                    <defaultProductionUnitOfMeasure></defaultProductionUnitOfMeasure>
                    <defaultConsumptionUnitOfMeasure></defaultConsumptionUnitOfMeasure>
                    <replenishmentGroup></replenishmentGroup>
                    <length></length>
                    <width></width>
                    <height></height>
                    <cubage></cubage>
                    <weightNetto></weightNetto>
                    <weightBrutto></weightBrutto>
                    <area></area>
                    <numberOfItemsPerPallet></numberOfItemsPerPallet>
                    <numberOfItemsPerPacket></numberOfItemsPerPacket>
                    <standardCost></standardCost>
                    <productionBOM></productionBOM>
                    <productionBOMVersion></productionBOMVersion>
                    <productionRoute></productionRoute>
                    <productionRouteVersion></productionRouteVersion>
       </variant>
    </result>
    <errorList/>
    <warningList/>
</out>

<?xml version='1.0' encoding='UTF-8' ?>
<out>
    <status>error</status>
    <result>GautasRezultatas</result>
    <errorList>
        <error>Klaida1</error>
        <error>Klaida2</error>
    </errorList>
    <warningList>
    		<warning>Įspėjimas</warning>
    </warningList>
</out>

JSON

Tabs

JSON

{"recordId": 108347}

Data

Atsakymas

Responses are always returned with 200 HTTP code (even errors). If there was an error is is sent with 200 code and a detailed description of the error, examples below. Response format depends on the "Accept" parameter. If there was a 400 or 500 response, than an unexpected error occured.

{
    "status": "success",
    "result": {
        "item": {
        		"id": "",
            "code": "",
            "code2": "",
            "description": "",
        },
       "variant": [
                {
                    "code": "",
                    "description": "",
                    "barCode": "",
                    "configurationKey": ,
                    "countryOfOrigin": ,
                    "standardText": ,
                    "quantityPerBaseUnitOfMeasure": ,
                    "baseUnitOfMeasure": ,
                    "productVariant": ,
                    "defaultSalesUnitOfMeasure": ,
                    "defaultPurchaseUnitOfMeasure": ,
                    "defaultProductionUnitOfMeasure": ,
                    "defaultConsumptionUnitOfMeasure": ,
                    "replenishmentGroup": ,
                    "length": ,
                    "width": ,
                    "height": ,
                    "cubage": ,
                    "weightNetto": ,
                    "weightBrutto": ,
                    "area": ,
                    "numberOfItemsPerPallet": ,
                    "numberOfItemsPerPacket": ,
                    "standardCost": ,
                    "productionBOM": "",
                    "productionBOMVersion": "",
                    "productionRoute": "",
                    "productionRouteVersion": ""
                }
            ]
        }
    },
    "errorList": [
    ],
    "warningList": [
    ]
}