Fetch the location details by location code
get
/service/v1/locationmaster/{locationCode}
This API fetches the location details by location code.
Request
Supported Media Types
- application/json
- application/xml
Path Parameters
-
locationCode: string
location code 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.
Nested Schema : PagingDto
Type:
object
Paging Dto
Show Source
-
totalResults(optional):
integer
Total Results
Nested Schema : CmTmLocationMasterDTO
Type:
Show Source
object
-
countryCode(optional):
string
Country Code
-
id(optional):
string
ID
-
locationCode(optional):
string
Location Code
-
locationDescription(optional):
string
Location Description
-
locationType(optional):
string
Location Type
-
stateCode(optional):
string
State Code
400 Response
Malformed syntax.
401 Response
Request does not have sufficient credentials.
403 Response
Request is not authorized.
500 Response
Internal error