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 : ScfTmCustDivisionMasterDTO-allOf[1]
Type:
Show Source
object
-
action(optional):
string
Action
-
partyId:
string
Party Id
-
partyName:
string
Party Name
-
ScfTmCustDivisionCodeDTO(optional):
array ScfTmCustDivisionCodeDTO
-
txnControllerRefNo(optional):
string
Transaction Controller Reference Number
Nested Schema : CreateServiceCollection-allOf[1]
Type:
Show Source
object
-
authRequire(optional):
string
Auth Status Y/N
Nested Schema : ScfTmCustDivisionCodeDTO
Type:
Show Source
object
-
authStatus(optional):
string
Auth Status
-
countryCode(optional):
string
Country Code
-
countryName(optional):
string
Country Name
-
custDivisionMasterId(optional):
string
Customer Division Master ID
-
divisionAddressLine1(optional):
string
Address Line 1
-
divisionAddressLine2(optional):
string
Address Line 2
-
divisionAddressLine3(optional):
string
Address Line 3
-
divisionAddressLine4(optional):
string
Address Line 4
-
divisionCode(optional):
string
Division Code
-
divisionName(optional):
string
Division Name
-
email(optional):
string
Email
-
id(optional):
string
ID
-
partyId(optional):
string
Party ID
-
partyName(optional):
string
Party Name
-
telNo(optional):
string
Tell 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 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