Last modified by Nico Lemaire on 2025/05/06 15:49
From version 23.1
edited by Robin Huisman
on 2024/09/06 11:29
on 2024/09/06 11:29
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
-
... ... @@ -1257,7 +1257,7 @@ 1257 1257 ))) 1258 1258 1259 1259 (% element-id="654" %) 1260 -= (% element-id="653" %)Get Order status and Results(%%) = 1260 += (% element-id="653" %)Get Order status and Results XML and with PDF(%%) = 1261 1261 1262 1262 (% element-id="652" %) 1263 1263 == (% element-id="651" %)Solution/Design(%%) == ... ... @@ -1396,7 +1396,7 @@ 1396 1396 10 = PDFNotAvailable 1397 1397 (% element-id="370" %)|(% element-id="369" %)12|(% element-id="368" %)Receives the PDF and stores it for reporting and downloading.|(% element-id="367" %) |(% element-id="365" %) |(% element-id="363" %) |(% element-id="361" %) |(% element-id="359" %) 1398 1398 1399 -(% class="wikigeneratedid" element-id="357" %)1399 +(% element-id="357" %) 1400 1400 == Request example Order Status == 1401 1401 1402 1402 public GetOrderStatusesCall.Response OrderStatuses(string WebserviceUsername, string WebservicePassword, string CustomerUsername, string customerid, DateTime? timestampSince) ... ... @@ -1430,7 +1430,7 @@ 1430 1430 { 1431 1431 XmlSerializer serializer = new XmlSerializer(typeof(GetOrderStatusesCall.Response)); 1432 1432 set = (GetOrderStatusesCall.Response)serializer.Deserialize(ms); 1433 - } 1433 + } 1434 1434 1435 1435 } 1436 1436 catch (Exception ex) ... ... @@ -1454,7 +1454,7 @@ 1454 1454 } 1455 1455 1456 1456 return set; 1457 - } 1457 + } 1458 1458 1459 1459 == Response Status XML Example == 1460 1460 ... ... @@ -1578,7 +1578,7 @@ 1578 1578 return set; 1579 1579 1580 1580 1581 -== Response Order XML Example 1581 +== Response Order XML Example == 1582 1582 1583 1583 1584 1584 <?xml version="1.0" encoding="UTF-8" standalone="no"?> ... ... @@ -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