Last modified by Nico Lemaire on 2025/05/06 15:49
From version 23.2
edited by Robin Huisman
on 2024/10/10 10:15
on 2024/10/10 10:15
Change comment:
There is no comment for this version
To version 23.3
edited by Robin Huisman
on 2024/10/10 10:21
on 2024/10/10 10:21
Change comment:
There is no comment for this version
Summary
-
Page properties (1 modified, 0 added, 0 removed)
Details
- Page properties
-
- Content
-
... ... @@ -1593,7 +1593,44 @@ 1593 1593 </Response> 1594 1594 1595 1595 1596 +== Request example Order PDF File == 1596 1596 1598 + 1599 + 1600 + bool useZipstream = true; ~/~/ Always Supported, Keep it true!! 1601 + var content = new FormUrlEncodedContent(new[] 1602 + { 1603 + new KeyValuePair<string, string>("userName", WebserviceUsername), 1604 + new KeyValuePair<string, string>("password", WebservicePassword), 1605 + new KeyValuePair<string, string>("customerUsername", CustomerUsername), 1606 + new KeyValuePair<string, string>("clientId", customerid), 1607 + new KeyValuePair<string, string>("orderId", orderid), 1608 + new KeyValuePair<string, string>("useZip", useZipstream.ToString()), ~/~/ Always Supported, Keep it true!!. 1609 + new KeyValuePair<string, string>("languageCode", languageCode) 1610 + }); 1611 + 1612 + HttpResponseMessage response = _HttpClient.PostAsync("GetOrderPdf", content).GetAwaiter().GetResult(); 1613 + responseMessage = response.Content.ReadAsStringAsync().GetAwaiter().GetResult(); 1614 + response.EnsureSuccessStatusCode(); 1615 + 1616 + 1617 +== Response Order PDF Example == 1618 + 1619 + <Response> 1620 + <OrderId>7113737</OrderId> 1621 + <FileContent> 1622 + BASE64 encoded file 1623 + </FileContent> 1624 + <Status> 1625 + <StatusCode>1</StatusCode> 1626 + <StatusCodeDescription>OK</StatusCodeDescription> 1627 + <AtmisErrorCode>0</AtmisErrorCode> 1628 + <ErrorMessage></ErrorMessage> 1629 + </Status> 1630 + </Response> 1631 + 1632 + 1633 + 1597 1597 (% element-id="357" %) 1598 1598 = (% element-id="356" %)Customer wants to see real time information about the status in the interface(%%) = 1599 1599