# Save Location Save Location Endpoint: POST /rest/2.0/COUNTRY_CODE Version: 1.0 Security: JWT ## Header parameters: - `sessionId` (string, required) ## Request fields (application/json; charset=utf-8): - `brmObjects` (object) - `brmObjects.Created` (any) System controlled field: Date and time the record was created - `brmObjects.CreatedUserId` (any) System controlled field: Id of the user that created the record - `brmObjects.Id` (any, required) Id: COUNTRY_CODE_ID - `brmObjects.InvoiceLabel` (any, required) Invoice Label: Label that will be displayed when the country code is used to rate an invoice detail. - `brmObjects.Name` (any) Name: Unique name of the country code. - `brmObjects.ParentCountryCodeId` (any) Parent Location: Lookup that will allow you to select a parent code. This is used when the location will be part of a super set. - `brmObjects.Status` (any, required) Active - `brmObjects.Updated` (any) System controlled field: Date and time the record was last updated - `brmObjects.UpdatedUserId` (any) System controlled field: Id of the last user that updated the record ## Response 200 fields (application/json): - `createResponse` (array) - `createResponse.Id` (any) - `createResponse.success` (boolean) - `createResponse.ErrorText` (string) - `createResponse.ErrorElementField` (string) ## Response 400 fields (application/json): - `error` (string) Bad request - `message` (string) Bad request ## Response 401 fields (application/json): - `error` (string) Unauthorized - `message` (string) Unauthorized ## Response 404 fields (application/json): - `error` (string) Not found - `message` (string) Not found ## Response 429 fields (application/json): - `error` (string) Too many requests - `message` (string) Too many requests ## Response 500 fields (application/json): - `error` (string) Internal error - `message` (string) Internal error