{ "operationId": "rates_add", "method": "POST", "path": "/api/connector/v1/rates/add", "summary": "Add rates", "requestExamples": [ { "contentType": "application/json", "example": { "ClientToken": "E0D439EE522F44368DC78E1BFB03710C-D24FB11DBE31D4621C4817E028D9E1D", "AccessToken": "C66EF7B239D24632943D115EDE9CB810-EA00F8FD8294692C940F6B5A8F9453D", "Client": "Sample Client 1.0.0", "EnterpriseId": "3fa85f64-5717-4562-b3fc-2c963f66afa6", "Rates": [ { "ServiceId": "bd26d8db-86da-4f96-9efc-e5a4654a4a94", "RateGroupId": "b9f25a45-9b9a-4b33-99bd-b06f008eb6f5", "IsEnabled": true, "Type": "Public", "AccountingCategoryId": "3620c660-a4ec-4e0f-a0bc-b06f008eb8bf", "Names": { "EN": "My rate" }, "ExternalIdentifier": "D001", "PricingType": "DependentRatePricing", "Pricing": { "DependentRatePricing": { "BaseRateId": "1a1ddd3b-e106-4a70-aef1-54a75b483943", "RelativeAdjustment": 0.15, "AbsoluteAdjustment": 10 } } } ] } } ], "responseExamples": [ { "status": "200", "contentType": "application/json", "example": { "Rates": [ { "Id": "ed4b660b-19d0-434b-9360-a4de2ea42eda", "GroupId": "b9f25a45-9b9a-4b33-99bd-b06f008eb6f5", "BaseRateId": "1a1ddd3b-e106-4a70-aef1-54a75b483943", "BusinessSegmentId": null, "ServiceId": "bd26d8db-86da-4f96-9efc-e5a4654a4a94", "IsActive": true, "IsEnabled": true, "IsPublic": true, "Type": "Public", "Name": "My rate", "ShortName": "FF", "ExternalNames": { "en-US": "Long Stay Flexible Rate" }, "ExternalIdentifier": "D001" } ] } } ] }