Retrieves the location by location code
get
/service/v1/location/osnwbanks/{locationCode}
This endpoint is used to get the location by location code.
Request
Supported Media Types
- application/json
- application/xml
Path Parameters
-
locationCode: string
locationCode of the location that needs to be fetched
Header Parameters
-
appId: string
App ID
-
branchCode: string
branchCode
-
userId: string
userId
Response
Supported Media Types
- application/json
- application/xml
200 Response
Returns the location based on given id.
Root Schema : CmTmLocOsNwCollection
Type:
object
Collection of CmTmLocOsNwBank DTO.
Show Source
-
data(optional):
array data
-
paging(optional):
object PagingDto
Paging DTO object
Nested Schema : data
Type:
Show Source
array
-
Array of:
object CmTmLocOsNwBankDTO
CmTmLocOsNwBank DTO
Nested Schema : PagingDto
Type:
object
Paging DTO object
Show Source
-
totalResults(optional):
integer
Total Results
Nested Schema : CmTmLocOsNwBankDTO
Type:
object
CmTmLocOsNwBank DTO
Show Source
-
bankCode(optional):
string
Bank Code
-
bankDescription(optional):
string
Bank Description
-
branchCode(optional):
string
Branch Code
-
branchDescription(optional):
string
Branch Description
-
id(optional):
string
ID
-
locationCode(optional):
string
Location Code
-
locationMasterId(optional):
string
Location Master ID
-
priority(optional):
number
Priority
400 Response
Malformed syntax.
401 Response
Request does not have sufficient credentials.
403 Response
Request is not authorized.
500 Response
Internal error