Branches

Get Branch

This endpoint retrieves data of a specific Branch based on JSON input. The API returns a single Branch available to the user in the Value List, according to the unique ID provided. If the specified Branch does not exist, the response will be a "bad request".

You will only receive the Branch after first providing the Session Key. To know how you can obtain the Session Key, go to Authentication.

HEADERS

ParameterValueDescription
Content-Typeapplication/jsonLanguage in which all request and response bodies are encoded
Accept*/*Any data of whatever mime type is accepted
X-Session-KeyAUTH_TOKENThis field must be completed with the token obtained at the authentication

REQUEST

ParameterTypeDescription
idIntegerThe unique and specific identifier for the Branch to retrieve data

RESPONSE

AttributeTypeDescription
currencyIdObject, NullID of the Currency (see Currencies resource) associated to the Branch
dateCreatedStringDate and time when the Branch was created
dateDeletedStringDate and time when the Branch was deleted
dateUpdatedStringDate and time when the Branch was last updated
defaultBooleanIf true, the Branch is the one assigned by default, this is valid for any kind of implementations
deletedBooleanIf true, the Branch has been deleted and archived
descriptionBRStringBranch name in Brasilian Portuguese
descriptionDEStringBranch name in German
descriptionDKStringBranch name in Dutch
descriptionENStringBranch name in English
descriptionESStringBranch name in Spanish
descriptionFRStringBranch name in French
descriptionITStringBranch name in Italian
descriptionPTStringBranch name in Portuguese
descriptionRUStringBranch name in Russian
descriptionUSStringBranch name in American English
extIdStringExternal unique identifier for the Branch
idIntegerUnique identifier for the Branch in ForceManager
imperialSystemBooleanIf true, the Branch adopt the imperial system measurement (i.e. miles instead of km)
mainEnvironmentBooleanIf true, the Branch is the main one, for long tail implementations
salesRepIdCreatedIntegerUnique identifier of the user who created the Branch
salesRepIdDeletedIntegerUnique identifier of the user who deleted the Branch
salesRepIdUpdatedIntegerUnique identifier of the user who last updated the Branch
timeZoneIdObjectThe id and the friendly name of the Branch timezone

RESPONSE CODES

StatusDescription
200 OKShows if operation succeeded
400 Bad RequestShows when an invalid request or the requested service is not available
get/branches/{ID}

Request

  • Base URL: https://api.forcemanager.com/api/v4
  • URL: https://api.forcemanager.com/api/v4/branches/{ID}
  • Auth: API key in header X-Session-Key

Headers

Acceptstring

Response

Get Branch

Changes

No recorded changes to this operation across all 1 revision of this API.