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
Name Type Required Description
code string(5) Yes  
AuthenticationToken string(50) Yes Alliance cloud security token.
test boolean No  
Body
Name Type Required Description
PO string(16) No Purchase order number.
Message string(100) No Message.
IsSuccess boolean No Status.
EXAMPLE
{
  “POList”: [
    {
      “PO”: “53-0023909SO”
    },
    {
      “PO”: “54-0043908SO”
    }
  ],
  “Message”: “NEW PO Change Request available”,
  “IsSuccess”: true
}
Response

 

Output Success

 

BODY

Name Type Description
IsSuccess boolean Output Success (True).
Message string(50) We return the success message in this field.

EXAMPLE

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

 

BODY

Name Type Description
IsSuccess boolean Output Error (False).
Message string(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}”
    }
]