# Save Country Code Map Save Country Code Map Endpoint: POST /rest/2.0/COUNTRY_CODE_MAP Version: 1.0 Security: JWT ## Header parameters: - `sessionId` (string, required) ## Request fields (application/json; charset=utf-8): - `brmObjects` (object) - `brmObjects.OriginationCountryCodeId` (integer, required) OriginationCountryCodeId - `brmObjects.Rate` (string, required) Rate - `brmObjects.PricingId` (string, required) PricingId - `brmObjects.DestinationCountryCodeId` (integer, required) DestinationCountryCodeId - `brmObjects.ChargeType` (string, required) ChargeType - `brmObjects.Id` (string, required) Id: COUNTRY_CODE_MAP_ID - `brmObjects.Created` (string) System controlled field: Date and time the record was created - `brmObjects.Updated` (string) System controlled field: Date and time the record was last updated - `brmObjects.UpdatedUserId` (string) System controlled field: Id of the last user that updated the record - `brmObjects.CreatedUserId` (string) System controlled field: Id of the user that created the record - `brmObjects.ExternalKey` (string) ExternalKey - `brmObjects.BuyRate` (string) BuyRate ## Response 200 fields (application/json): - `retrieveResponse` (object) - `retrieveResponse.OriginationCountryCodeId` (integer) OriginationCountryCodeId - `retrieveResponse.Rate` (string) Rate - `retrieveResponse.PricingId` (string) PricingId - `retrieveResponse.DestinationCountryCodeId` (integer) DestinationCountryCodeId - `retrieveResponse.ChargeType` (string) ChargeType - `retrieveResponse.Id` (string) Id: COUNTRY_CODE_MAP_ID - `retrieveResponse.Created` (string) System controlled field: Date and time the record was created - `retrieveResponse.Updated` (string) System controlled field: Date and time the record was last updated - `retrieveResponse.UpdatedUserId` (string) System controlled field: Id of the last user that updated the record - `retrieveResponse.CreatedUserId` (string) System controlled field: Id of the user that created the record - `retrieveResponse.ExternalKey` (string) ExternalKey - `retrieveResponse.BuyRate` (string) BuyRate ## 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