Update an existing rule
put
/service/externalchartaccounts/{glCode}
This endpoint is used to update an existing external chart accounts.
Request
Supported Media Types
- application/json
- application/xml
Path Parameters
-
glCode: string
glCode of the externalchartaccounts Maintenance
Header Parameters
-
sourceCode: string
Source from which request is initiated
Request Body that contains data required for updating an existing externalchartaccounts
Nested Schema : GenericDto
Match All
Show Source
-
object
GenericDto-allOf[0]
Discriminator:
resource_type
Nested Schema : GenericDto-allOf[0]
Type:
objectDiscriminator:
resource_typeNested Schema : GlmasterDto-allOf[1]
Type:
Show Source
object-
block:
string
Minimum Length:
0Maximum Length:1Pattern:^(?:Y|N)$ -
category:
string
Minimum Length:
0Maximum Length:1Pattern:^[0-9]$ -
glCode:
string
Minimum Length:
0Maximum Length:20Pattern:^[A-Z0-9*_]*$ -
glDesc(optional):
string
Minimum Length:
0Maximum Length:105 -
sourceSystem(optional):
string
Minimum Length:
0Maximum Length:35 -
sourceSystemGlCode(optional):
string
Minimum Length:
0Maximum Length:35
Response
Supported Media Types
- application/json
- application/xml
200 Response
Returns updated externalchartaccounts
Nested Schema : GenericDto
Match All
Show Source
-
object
GenericDto-allOf[0]
Discriminator:
resource_type
Nested Schema : GenericDto-allOf[0]
Type:
objectDiscriminator:
resource_typeNested Schema : GlmasterDto-allOf[1]
Type:
Show Source
object-
block:
string
Minimum Length:
0Maximum Length:1Pattern:^(?:Y|N)$ -
category:
string
Minimum Length:
0Maximum Length:1Pattern:^[0-9]$ -
glCode:
string
Minimum Length:
0Maximum Length:20Pattern:^[A-Z0-9*_]*$ -
glDesc(optional):
string
Minimum Length:
0Maximum Length:105 -
sourceSystem(optional):
string
Minimum Length:
0Maximum Length:35 -
sourceSystemGlCode(optional):
string
Minimum Length:
0Maximum Length:35
Nested Schema : items
Type:
object400 Response
Malformed syntax.
401 Response
Request does not have sufficient credentials.
403 Response
Request is not authorized.
405 Response
Invalid input
500 Response
Internal error