Get all valid division code
get
/service/v1/divisioncode/division
This endpoints is used to get all valid division code maintenance records based on given set of parameters.
Request
Supported Media Types
- application/json
- application/xml
Query Parameters
-
corporateId: string
-
divisionCode: string
-
divisionName: string
-
includecloseandunauth: boolean
includecloseandunauth need to be set to fetch summary record, defult value is false
-
limit: integer
limit is maximum no of records to be fetched
-
offset: integer
offset is starting no of records to be fetched
Header Parameters
-
appId(required): string
-
branchCode(required): string
branchCode
-
userId(required): string
userId
Response
Supported Media Types
- application/json
- application/xml
201 Response
Returns message of succes or failure
Root Schema : ScfTmDivCodeServiceCollection
Match All
Show Source
-
object
ScfTmCustDivisionCodeCollection
Collection of custdivision.
-
object
ScfTmDivCodeServiceCollection-allOf[1]
Nested Schema : ScfTmCustDivisionCodeCollection
Type:
object
Collection of custdivision.
Show Source
-
data:
array data
-
paging:
object PagingDto
Contains the paging data like Total Results and Next/Prev Links
Nested Schema : PagingDto
Type:
object
Contains the paging data like Total Results and Next/Prev Links
Show Source
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
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