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 : ScfTmCustDivisionMasterDTO
Type:
object
Match All
Show Source
-
allOf
GenericDto
Generic DTO
-
object
ScfTmCustDivisionMasterDTO-allOf[1]
Nested Schema : GenericDto
Generic DTO
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
object
-
countryCode(optional):
string
Country Code
-
countryName(optional):
string
Country Name
-
custDivisionMasterId(optional):
string
Customer Division Master Id
-
divisionAddressLine1(optional):
string
Division Address Line1
-
divisionAddressLine2(optional):
string
Division Address Line2
-
divisionAddressLine3(optional):
string
Division Address Line3
-
divisionAddressLine4(optional):
string
Division Address Line4
-
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
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(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