Deletes/Closes a new division code
patch
/service/v1/divisioncode/division
This endpoint is used to deletes/closes a new division code.
Request
Supported Media Types
- application/json
- application/xml
Request Body that contains data required for creating a new divisioncode
Root Schema : DivCodeDeleteDTO
Type:
Show Source
object
-
authRequire(optional):
string
Post Authorization is required or Not.
-
corporateId(optional):
string
Corporate Id
-
deleteClose(optional):
string
Delete or Close
-
divisionCode(optional):
string
Division Code to be deleted or closed.
Response
Supported Media Types
- application/json
- application/xml
200 Response
Returns message of succes or failure
Headers
-
Location: string
URL of newly created divisioncode
Root Schema : DeleteDivCode
Type:
Show Source
object
-
authStatus(optional):
string
Authorization Status
-
corporateId(optional):
string
Corporate id
-
divisionCodes(optional):
array divisionCodes
div code
-
errors(optional):
array errors
Error List
-
modNo(optional):
string
Latest Modification No.
-
recordStatus(optional):
string
recordStatus
-
responseCode(optional):
string
Response - SUCCESS/FAILURE
Nested Schema : divisionCodeResponseDTOColl
Type:
Show Source
object
-
divisionCode(optional):
string
Division Code
-
divisionName(optional):
string
Division Name
Nested Schema : ErrorDto
Type:
Show Source
object
-
errorCode(optional):
string
Error Code
-
errorDesc(optional):
string
Error Desc
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