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(required): string
-
branchCode(required): string
branchCode
-
userId(required): string
userId
Request Body that contains data required for creating a new divisioncode
Nested Schema : GenericDto-allOf[0]
Type:
object
Nested Schema : ScfTmCustDivisionMasterDTO-allOf[1]
Type:
Show Source
object
-
action:
string
Action
-
partyId(required):
string
Party Id
-
partyName(required):
string
Party Name
-
ScfTmCustDivisionCodeDTO:
array ScfTmCustDivisionCodeDTO
-
txnControllerRefNo:
string
Transaction Controller Reference Number
Nested Schema : CreateServiceCollection-allOf[1]
Type:
Show Source
object
-
authRequire:
string
Auth Status Y/N
Nested Schema : ScfTmCustDivisionCodeDTO
Type:
Show Source
object
-
authStatus:
string
Auth Status
-
countryCode:
string
Country Code
-
countryName:
string
Country Name
-
custDivisionMasterId:
string
Customer Division Master ID
-
divisionAddressLine1:
string
Address Line 1
-
divisionAddressLine2:
string
Address Line 2
-
divisionAddressLine3:
string
Address Line 3
-
divisionAddressLine4:
string
Address Line 4
-
divisionCode:
string
Division Code
-
divisionName:
string
Division Name
-
email:
string
Email
-
id:
string
ID
-
partyId:
string
Party ID
-
partyName:
string
Party Name
-
telNo:
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:
string
Authorization Status
-
corporateId:
string
Corp id
-
divisionCodeResponseDTO:
array divisionCodeResponseDTO
div code
-
errors:
array errors
Error List
-
id:
string
Id
-
modNo:
string
Mod Number
-
responseCode:
string
Response Code
Nested Schema : divisionCodeResponseDTOColl
Type:
Show Source
object
-
divisionCode:
string
Division Code
-
divisionName:
string
Division Name
Nested Schema : ErrorDto
Type:
Show Source
object
-
errorCode:
string
Error Code
-
errorDesc:
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