sizes_Update
Update/insert the specified sizes.
Parameters: sizes: Array of size objects.
The following is a sample SOAP request and response. The placeholders shown need to be replaced with actual values.
Request:
POST /amsdemo1337/system/service/module/navision/api HTTP/1.1 Host: demo1337.centraqa.com Connection: Keep-Alive Content-Type: text/xml; charset=utf-8 SOAPAction: "http://www.silkvms.com/webservices/Sizes_Update" <?xml version="1.0"?> <SOAP-ENV:Envelope xmlns:SOAP-ENV="http://schemas.xmlsoap.org/soap/envelope/" xmlns:ns1="http://www.silkvms.com/webservices/"> <SOAP-ENV:Body> <ns1:sizes_Update> <ns1:sizes> <ns1:size> <ns1:id>string</ns1:id> <ns1:description>string</ns1:description> <ns1:sku>string</ns1:sku> <ns1:ean>string</ns1:ean> <ns1:comment>string</ns1:comment> <ns1:sizetable> <ns1:id>string</ns1:id> <ns1:description>string</ns1:description> <ns1:stockdivisor>string</ns1:stockdivisor> <ns1:stockunit>string</ns1:stockunit> </ns1:sizetable> </ns1:size> </ns1:sizes> </ns1:sizes_Update> </SOAP-ENV:Body> </SOAP-ENV:Envelope>
Response:
HTTP/1.1 200 OK Date: Mon, 06 May 2024 02:14:19 GMT Content-Type: text/xml; charset=utf-8 Connection: keep-alive x-centra-request-id: 1_4d2f73bd01f702e0dea75f4ef4ded92a x-correlation-id: centra_1_4d2f73bd01f702e0dea75f4ef4ded92a expires: Thu, 19 Nov 1981 08:52:00 GMT Cache-Control: no-store, no-cache, must-revalidate pragma: no-cache content-security-policy-report-only: default-src 'self' https://centra-pdf-generator.s3.eu-west-1.amazonaws.com/; style-src 'self' 'unsafe-inline' https://www.gstatic.com/charts/; img-src 'self' data: https://demo1337.centraqa.com/ https://maps.gstatic.com/ https://www.googletagmanager.com/ https://www.gstatic.com/ https://script.hotjar.com/ https://www.google-analytics.com/; connect-src 'self' https://centra.systems/ https://www.google-analytics.com/ https://*.hotjar.com:* https://vc.hotjar.io:* https://surveystats.hotjar.io wss://*.hotjar.com https://www.gstatic.com/charts/; script-src 'self' 'unsafe-inline' 'unsafe-eval' https://centra.systems/ https://www.googletagmanager.com/gtm.js https://www.google-analytics.com/analytics.js https://maps.googleapis.com/ https://static.hotjar.com https://script.hotjar.com 'unsafe-inline' https://www.gstatic.com/charts/; frame-src https://vars.hotjar.com; font-src https://script.hotjar.com; object-src 'none'; report-uri https://centra.report-uri.com/r/d/csp/reportOnly; x-mem: 4.0 MB x-max-mem: 4.0 MB CF-Cache-Status: DYNAMIC Report-To: {"endpoints":[{"url":"https:\/\/a.nel.cloudflare.com\/report\/v4?s=iJENNl%2BdumCdl%2By846iXgxkAwXwYL9D%2FY2FKbsA3K0x7R9cg2gvdoeFBmvf3nyUoPAcRGnmzVPx9uCoNgEXB4yqLiq0yBap2fs%2B5KxK5ufo2Gxcx7BDOcpadEO7tIQu2i8VJIvHkOfY%3D"}],"group":"cf-nel","max_age":604800} NEL: {"success_fraction":0,"report_to":"cf-nel","max_age":604800} Server: cloudflare CF-RAY: 87f574c5f9199560-DUB alt-svc: h3=":443"; ma=86400 <?xml version="1.0"?> <SOAP-ENV:Envelope xmlns:SOAP-ENV="http://schemas.xmlsoap.org/soap/envelope/"> <SOAP-ENV:Body> <sizesUpdateResponse>OK</sizesUpdateResponse> </SOAP-ENV:Body> </SOAP-ENV:Envelope>