Adds a new division code

post

/service/v1/divisioncode/division

This endpoint is used to add a new division code.

Request

Supported Media Types
Header Parameters
Body ()
Request Body that contains data required for creating a new divisioncode
Root Schema : CreateServiceCollection
Match All
Show Source
Nested Schema : ScfTmCustDivisionMasterDTO
Type: object
Match All
Show Source
Nested Schema : GenericDto
Match All
Show Source
Nested Schema : GenericDto-allOf[0]
Type: object
Discriminator: resource_type
Nested Schema : ScfTmCustDivisionMasterDTO-allOf[1]
Type: object
Show Source
Nested Schema : CreateServiceCollection-allOf[1]
Type: object
Show Source
Nested Schema : ScfTmCustDivisionCodeDTO
Type: array
Show Source
Nested Schema : ScfTmCustDivisionCodeDTO
Type: object
Collection of Division.
Show Source
Back to Top

Response

Supported Media Types

201 Response

Returns message of succes or failure
Headers
Body ()
Root Schema : CreateDivCode
Type: object
Show Source
Nested Schema : divisionCodeResponseDTO
Type: array
div code
Show Source
Nested Schema : errors
Type: array
Error List
Show Source
Nested Schema : divisionCodeResponseDTOColl
Type: object
Show Source
Nested Schema : ErrorDto
Type: object
Show Source

400 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
Back to Top