Skip to content

Latest commit

 

History

History
45 lines (34 loc) · 1.8 KB

PATCH_Customer_Note.md

File metadata and controls

45 lines (34 loc) · 1.8 KB

PATCH /Customer/{CustNo}/Note

Description

Updates an existing customer note

  • Requires API Key: Yes
  • Requires System Administrator: No
  • Requires Counterpoint Registration option: No

Sample Request

URI

PATCH https://localhost:81/Customer/{CustNo}/Note

Headers

  • Authorization : Basic UUFUZXN0R29sZi5NR1I6cGFzc3dvcmQx
  • Accept : application/json

Parameters

Name Parameter Type Data Type Required Description
CustNo path string true The CUST_NO of the customer update.
AR_CUST_NOTE body AR_CUST_NOTE_PATCH true The customer note (AR_CUST_NOTE) to update. NOTE_ID of the note to update must be included, along with any other fields to update.

AR_CUST_NOTE | Required | Field Description NOTE_ID | * | The note Id specified by the user. NOTE_DAT | | USR_ID | | NOTE | | NOTE_TXT | | LST_MAINT_USR_ID | | LST_LCK_DT | |

Response Codes

  • 200 OK The request was successful, the result of the call will be in the response body.
  • 401 Unauthorized The request could not be fulfilled. Likely due to a missing or invalid authorization header.
  • 404 Not Found The requested resource could not be found but may be available again in the future. Subsequent requests by the client are permissible.
  • 500 Internal Server Error The request could not be fulfilled due to an unexpected internal error. This could be caused by a bug in the system, an unavailable database, or any other unexpected internal problem processing the request.

Error Codes

The following error codes may be returned from requests to this endpoint:

  • SUCCESS: The request was successful.
  • ERROR_RECORD_NOT_FOUND: Record does not exist for the DocId given in parameter.