Factory-attestation
Get list​
This endpoint allows you to get the factory-attestations as list as well as search by article-id, order-id and auto-certificate-id (sP48AutoCertificateID).
URL : /factory-attestation
Example : /factory-attestation?searchtext=hea100
Method :
Auth required : Yes
Permissions required : No
Query params :
searchtext: string
Success Response​
Condition : If factory-attestations are found.
Code : 200 OK
Content example
[
{
"sReferenceDetail": "3",
"sP48AutoCertificateID": "",
"sArticleID": "HEA140",
"sReference": "12345670001",
"sLinkReference": null
},
{
"sReferenceDetail": "4",
"sP48AutoCertificateID": "",
"sArticleID": "HEA180",
"sReference": "12345670001",
"sLinkReference": null
},
{
"sReferenceDetail": "1",
"sP48AutoCertificateID": "",
"sArticleID": "HEA140",
"sReference": "12345670002",
"sLinkReference": null
}
]
Download factery-attestation​
This endpoint allows you to download a factory-attestation
URL : /factory-attestation
Method :
Auth required : Yes
Permissions required : No
Body
The following parameters have to be sent in the request body as json.
sReference and sReferenceDetail are equal to the order-id and order-detail-fixed-item-id of a salesOrderDetail
sReference: string,
sReferenceDetail: string
Body example
{
"sReference": "12345670001",
"sReferenceDetail": "3"
}
Success Response​
Condition : If the file is found.
Code : 200 OK
Content
file as binary
or
Condition : if no file is found.
Code : 404 NOT FOUNd
Content example
{
"text": "Werkzeugnis nicht gefunden"
}