Adds a new division code
post
/service/v1/divisioncode/division
This endpoint is used to add a new division code.
Request
Supported Media Types
- application/json
- application/xml
Header Parameters
-
appId: string
-
branchCode: string
branchCode
-
userId: string
userId
Request Body that contains data required for creating a new divisioncode
Nested Schema : GenericDto
Match All
Show Source
-
object
GenericDto-allOf[0]
Discriminator:
resource_type
Nested Schema : GenericDto-allOf[0]
Type:
object
Discriminator:
resource_type
Nested Schema : CreateServiceCollection-allOf[1]
Type:
Show Source
object
-
authRequire(optional):
string
Auth Status Y/N
Nested Schema : ScfTmCustDivisionCodeDTO
Type:
Show Source
array
-
Array of:
object ScfTmCustDivisionCodeDTO
Collection of Division.
Nested Schema : ScfTmCustDivisionCodeDTO
Type:
object
Collection of Division.
Show Source
-
authStatus(optional):
string
Auth Status
-
countryCode(optional):
string
Country Code
-
countryName(optional):
string
Country Name
-
custDivisionMasterId(optional):
string
Customet Division Master ID
-
divisionAddressLine1(optional):
string
Division Address Line 1
-
divisionAddressLine2(optional):
string
Division Address Line 2
-
divisionAddressLine3(optional):
string
Division Address Line 3
-
divisionAddressLine4(optional):
string
Division Address Line 4
-
divisionCode(optional):
string
Division Code
-
divisionName(optional):
string
Division Name
-
email(optional):
string
Email Address
-
id(optional):
string
Division Id
-
partyId(optional):
string
Party Id
-
partyName(optional):
string
Party Name
-
telNo(optional):
string
Telphone Number
Response
Supported Media Types
- application/json
- application/xml
201 Response
Returns message of succes or failure
Headers
-
Location: string
URL of newly created divisioncode
Root Schema : CreateDivCode
Type:
Show Source
object
-
authStatus(optional):
string
Authorization Status
-
corporateId(optional):
string
Corp id
-
divisionCodeResponseDTO(optional):
array divisionCodeResponseDTO
div code
-
errors(optional):
array errors
Error List
-
id(optional):
string
Id
-
modNo(optional):
string
Mod Number
-
responseCode(optional):
string
Response Code
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 Codes Displaying
-
errorDesc(optional):
string
Error Description displaying based on error codes
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