Updates an existing paycode.
- Requires API Key: Yes
- Requires System Administrator: No
- Requires Counterpoint Registration option: No
URI
PUT https://localhost:81/PayCode/{Paycode}
Headers
Authorization : Basic UUFUZXN0R29sZi5NR1I6cGFzc3dvcmQx
Accept : application/json
Content-Type : application/json
Name | Parameter Type | Data Type | Required | Description |
---|---|---|---|---|
Paycode | path | string | true | The PAY_COD to update configuration information. |
SY_PAY_COD | body | true | Paycode (SY_PAY_COD) to update. Include only fields to update. |
201 Created
The request was successful, the user's roles were set.401 Unauthorized
The request could not be fulfilled. Likely due to a missing or invalid authorization header.404 Not Found
The user or one or more roles in the role list do not exist.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.
The following error codes may be returned from requests to this endpoint:
SUCCESS
: The request was successful and the role was added to the Counterpoint database.NOT_FOUND
: The requested item was not found in the company data.
{
"ErrorCode": "SUCCESS"
}