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
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
-
partyId:
string
Party Id
-
partyName:
string
Party Name
-
ScfTmCustDivisionCodeDTO:
array ScfTmCustDivisionCodeDTO
Nested Schema : CreateServiceCollection-allOf[1]
Type:
Show Source
object
-
authRequire:
string
Auth Status Y/N
Nested Schema : ScfTmCustDivisionCodeDTO
Type:
Show Source
object
-
countryCode:
string
Country Code
-
countryName:
string
Country Name
-
custDivisionMasterId:
string
Customer Division Master Id
-
divisionAddressLine1:
string
Division Address Line1
-
divisionAddressLine2:
string
Division Address Line2
-
divisionAddressLine3:
string
Division Address Line3
-
divisionAddressLine4:
string
Division Address Line4
-
divisionCode:
string
Division Code
-
divisionName:
string
Division Name
-
email:
string
Email
-
id:
string
Id
-
partyId:
string
Party Id
-
partyName:
string
Party Name
-
telNo:
string
Telephone 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 Codes Displaying
-
errorDesc:
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