• Introducing WebPros Cloud - a fully managed infrastructure platform purpose-built to simplify the deployment of WebPros products !  WebPros Cloud enables you to easily deliver WebPros solutions — without the complexity of managing the infrastructure.
    Join the pilot program today!
  • Support for BIND DNS has been removed from Plesk for Windows due to security and maintenance risks.
    If a Plesk for Windows server is still using BIND, the upgrade to Plesk Obsidian 18.0.70 will be unavailable until the administrator switches the DNS server to Microsoft DNS.

Standards in XML API

P

Patrick M

Guest
I am a new user of the Plesk API and I was struck by the problematic schema validations.

One rather curious validation exception I got was because I reused the same code to generate the inner elements of a Client/add and a Client/set xml requests.

When revising the schema, I understood that the exception was thrown because the sequence order was not respected:

ADD: <hosting> comes before <limits>
SET: <hosting> comes after <limits>

Working around this situation involves making two specific routines for the two calls, not very pleasant when doing maintenance.

Any ideas regarding this ?
 
Back
Top