Retrieve GL Departments By Code
- 25 Sep 2024
- 1 Minute to read
- Print
- DarkLight
Retrieve GL Departments By Code
- Updated on 25 Sep 2024
- 1 Minute to read
- Print
- DarkLight
Article summary
Did you find this summary helpful?
Thank you for your feedback
Get
/glrestapi/rest/v1/rtigenericgldepts
Query Standards
Finder
Following row finders are available for data filtering and optimizing request performance.
- Select DeptCompany
- By UUID
Select DeptCompany
Recommended finder parameters. Refer to Query Parameters for example.
Parameter | Description | Sample |
---|---|---|
deptCompanyCod | Company Code that the Department belongs to | 001 |
By UUID
This is an optional finder for querying a specific Department by row ID.
Parameter | Description | Sample |
---|---|---|
/VUUID | The VUuid attribute is the Unique row ID | /glrestapi/rest/v1/rtigenericgldepts/:AABRgyAAIAALJRGAAJ |
Security
HTTP
Type basic
Basic authentication
Query parameters
finder
string
ExampleselectDeptCompany;deptCompanyCode=001
limit
integer
Example500
offset
integer
Example0
totalResults
boolean
Exampletrue
orderBy
string
ExampleDeptName:desc
Responses
200
OK
Headers
Content-Type
string
Exampleapplication/vnd.oracle.adf.resourcecollection+json
{
"items": [
{
"DeptActiveFlag": "Y",
"DeptAdd1": null,
"DeptAdd2": null,
"DeptAdd3": null,
"DeptAddrCode": null,
"DeptAddrCompCode": null,
"DeptApTax1Code": null,
"DeptApTax2Code": null,
"DeptApTax3Code": null,
"DeptAreaCode": null,
"DeptBalanceFlag": null,
"DeptBillingRateCode": null,
"DeptBuCode": null,
"DeptBuName": null,
"DeptCkDigitCode": null,
"DeptCloseYr": 2021,
"DeptCode": "00",
"DeptCompCode": "001",
"DeptConschartCode": "CMIC",
"DeptCountry": null,
"DeptCountryCode": null,
"DeptCtrlCode": null,
"DeptCtrlName": null,
"DeptFaxAreaCode": null,
"DeptFaxCountryCode": null,
"DeptFaxNum": null,
"DeptFedTax1Code": null,
"DeptFedTax2Code": null,
"DeptHier": "001 00 ",
"DeptIbRevAccCode": null,
"DeptIncomeCloseAccCode": "35000",
"DeptIncomeCloseDeptCode": "00",
"DeptInterClearAccCode": null,
"DeptJbAltCompAddCode": null,
"DeptJbAltRemitAddCode": null,
"DeptName": "Company Level",
"DeptPer": 3,
"DeptPhoneNum": null,
"DeptPostalCode": null,
"DeptRecalSalChrgrateFlag": null,
"DeptRegionCode": null,
"DeptRegionName": null,
"DeptRowid": "AABRgyAAIAALJRJAAG",
"DeptTax1Code": null,
"DeptTax1IncinvFlag": null,
"DeptTax2Code": null,
"DeptTax2IncinvFlag": null,
"DeptTax3Code": null,
"DeptTax3IncinvFlag": null,
"DeptTax4Code": null,
"DeptTax4IncinvFlag": null,
"DeptTax5Code": null,
"DeptTax5IncinvFlag": null,
"DeptTaxCode": null,
"DeptWcbCode": null,
"DeptYr": 2022,
"links": [
{
"rel": "self",
"href": "http://mobtest.cmiccloudr12.com:80/cmictestupg/glrestapi/rest/v1/rtigenericgldepts/AABRgyAAIAALJRJAAG",
"name": "rtigenericgldepts",
"kind": "item"
},
{
"rel": "canonical",
"href": "http://mobtest.cmiccloudr12.com:80/cmictestupg/glrestapi/rest/v1/rtigenericgldepts/AABRgyAAIAALJRJAAG",
"name": "rtigenericgldepts",
"kind": "item"
}
]
},
{
"DeptActiveFlag": "Y",
"DeptAdd1": null,
"DeptAdd2": null,
"DeptAdd3": null,
"DeptAddrCode": null,
"DeptAddrCompCode": null,
"DeptApTax1Code": null,
"DeptApTax2Code": null,
"DeptApTax3Code": null,
"DeptAreaCode": null,
"DeptBalanceFlag": null,
"DeptBillingRateCode": null,
"DeptBuCode": null,
"DeptBuName": null,
"DeptCkDigitCode": null,
"DeptCloseYr": 2021,
"DeptCode": "010",
"DeptCompCode": "001",
"DeptConschartCode": "CMIC",
"DeptCountry": null,
"DeptCountryCode": null,
"DeptCtrlCode": "00",
"DeptCtrlName": "Company Level",
"DeptFaxAreaCode": null,
"DeptFaxCountryCode": null,
"DeptFaxNum": null,
"DeptFedTax1Code": null,
"DeptFedTax2Code": null,
"DeptHier": "001 010 ",
"DeptIbRevAccCode": null,
"DeptIncomeCloseAccCode": "35000",
"DeptIncomeCloseDeptCode": "00",
"DeptInterClearAccCode": null,
"DeptJbAltCompAddCode": null,
"DeptJbAltRemitAddCode": null,
"DeptName": "Treasury",
"DeptPer": 3,
"DeptPhoneNum": null,
"DeptPostalCode": null,
"DeptRecalSalChrgrateFlag": null,
"DeptRegionCode": null,
"DeptRegionName": null,
"DeptRowid": "AABRgyAAIAALJRGAAJ",
"DeptTax1Code": null,
"DeptTax1IncinvFlag": null,
"DeptTax2Code": null,
"DeptTax2IncinvFlag": null,
"DeptTax3Code": null,
"DeptTax3IncinvFlag": null,
"DeptTax4Code": null,
"DeptTax4IncinvFlag": null,
"DeptTax5Code": null,
"DeptTax5IncinvFlag": null,
"DeptTaxCode": null,
"DeptWcbCode": null,
"DeptYr": 2022,
"links": [
{
"rel": "self",
"href": "http://mobtest.cmiccloudr12.com:80/cmictestupg/glrestapi/rest/v1/rtigenericgldepts/AABRgyAAIAALJRGAAJ",
"name": "rtigenericgldepts",
"kind": "item"
},
{
"rel": "canonical",
"href": "http://mobtest.cmiccloudr12.com:80/cmictestupg/glrestapi/rest/v1/rtigenericgldepts/AABRgyAAIAALJRGAAJ",
"name": "rtigenericgldepts",
"kind": "item"
}
]
}
],
"totalResults": 61,
"count": 2,
"hasMore": true,
"limit": 2,
"offset": 0,
"links": [
{
"rel": "self",
"href": "http://mobtest.cmiccloudr12.com:80/cmictestupg/glrestapi/rest/v1/rtigenericgldepts",
"name": "rtigenericgldepts",
"kind": "collection"
}
]
}
object