Notification of PO Change Request


 DESCRIPTION

Alliance Cloud notification to customer system by a new PO change request.  

Request

Method: POST

Content-Type: application/json

URL:

INPUT PARAMETERS
NameTypeRequiredDescription
codestring(5)Yes
AuthenticationTokenstring(50) YesAlliance cloud security token.
testbooleanNo
Body
NameTypeRequiredDescription
postring(16) NoPurchase order number.
Messagestring(100) NoMessage.
IsSuccessbooleanNoStatus.
EXAMPLE
{
  “POList”: [
    {
      “po”: “53-0023909SO”
    },
    {
      “po”: “54-0043908SO”
    }
  ],
  “Message”: “NEW PO Change Request available”,
  “IsSuccess”: true
}
Response

 

Output Success

 

BODY

NameTypeDescription
IsSuccessbooleanOutput Success (True).
Messagestring(50)We return the success message in this field.

EXAMPLE

[
    {
      “IsSuccess”: true,
      “Message”: “OK”
    }
  ]
Output Error

 

BODY

NameTypeDescription
IsSuccessbooleanOutput Error (False).
Messagestring(50)In case of an error, we return the error message in this field.

EXAMPLE

[
    {
      “IsSuccess”: false,
      “Message”: “ERROR”
    }
  ]
ERRORS MESSAGES

 

WRONG TOKEN

 

[
    {
        “IsSucess”: false,
        “Message”: “Code: 897 missing token or bad token: D62p5s2sds5646DF6sqm5sg9Q—  test mode 
         {\\r\\n    \\\”POList\\\”: [
         \\r\\n {\\r\\n        \\\”po\\\”: \\\”53-0023909SO\\\”\\r\\n      },
         \\r\\n      {\\r\\n        \\\”po\\\”: \\\”54-0043908SO\\\”\\r\\n      }
         \\r\\n    ],
         \\r\\n    \\\”Message\\\”: \\\”NEW PO Change Request available\\\”,
         \\r\\n    \\\”IsSuccess\\\”: true
         \\r\\n}”
    }
]

CODE DOES NOT EXIST

[
    {
        “IsSucess”: false,
        “Message”: “missing code or bad code: 897— Token: D62p5s2sds5646DF6sqm5sg9Q  test mode 
        {\\r\\n    \\\”POList\\\”: [
        \\r\\n      {\\r\\n        \\\”po\\\”: \\\”53-0023909SO\\\”\\r\\n      },
        \\r\\n      {\\r\\n        \\\”po\\\”: \\\”54-0043908SO\\\”\\r\\n      }
        \\r\\n    ],
        \\r\\n    \\\”Message\\\”: \\\”NEW PO Change Request available\\\”,
        \\r\\n    \\\”IsSuccess\\\”: true
        \\r\\n}”
    }
]