Scenario: Create Document Comment

MethodName: CreateDocumentComment()

Inputs:

CPDocGuid           Required, used to identify CP Transaction

Comment           Required

Logic:

Step 1: Save comment on open orders

Comments cannot be added to posted documents or invoices.

 

Use:

https://localhost:50937/c5coreapi/?APIToken=123456&action=CreateDocumentComment&CPDocGuid=47F3E6B4-20DF-4D8B-9B32-0CEC378C588F&Comment=This%20is%20a%20test%20comment%205

 

https://192.168.0.167:50937/c5coreapi/?APIToken=123456&action=CreateDocumentComment&CPDocGuid=47F3E6B4-20DF-4D8B-9B32-0CEC378C588F&Comment=This%20is%20a%20test%20comment%205

 

Returns:

{

  "DocumentComment": [{

        "Success": true

}]

}

 

Returns:

{

"Error": "Error Message."

}