# Upsert Country Code Map Upsert Country Code Map Endpoint: PATCH /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.BuyRate` (any) BuyRate - `brmObjects.ChargeType` (any, required) ChargeType - `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.DestinationCountryCodeId` (any, required) DestinationCountryCodeId - `brmObjects.ExternalKey` (any) ExternalKey - `brmObjects.Id` (any, required) Id: COUNTRY_CODE_MAP_ID - `brmObjects.OriginationCountryCodeId` (any, required) OriginationCountryCodeId - `brmObjects.PricingId` (any, required) PricingId - `brmObjects.Rate` (any, required) Rate - `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 - `externalIDFieldName` (string) Enum: "ExternalKey" ## Response 200 fields (application/json): - `upsertResponse` (array) - `upsertResponse.Id` (any) - `upsertResponse.success` (boolean) - `upsertResponse.ErrorText` (string) - `upsertResponse.ErrorElementField` (string) - `upsertResponse.created` (boolean)