openapi: 3.2.0 info: title: Incentive Administration Price Programs API version: 1.0.0 servers: - url: https://rls.congacloud.com/api/incentive-admin/v1 security: - Bearer: [] tags: - name: Price Programs paths: /price-programs: delete: tags: - Price Programs summary: Delete incentives description: Deletes multiple incentives. requestBody: description: The list of incentives to delete content: application/json: schema: type: array items: $ref: '#/components/schemas/Incentive' example: - Id: Id of the record to delete text/json: schema: type: array items: $ref: '#/components/schemas/Incentive' application/*+json: schema: type: array items: $ref: '#/components/schemas/Incentive' responses: '200': description: OK get: tags: - Price Programs summary: Retrieve incentives description: Retrieves the collection of incentives. parameters: - name: filter in: query description: Optional filter parameters schema: type: array items: type: string - name: sort in: query description: Optional sort parameter schema: type: string - name: page in: query description: Page number schema: type: integer format: int32 default: 1 - name: limit in: query description: Number of items per page schema: type: integer format: int32 default: 50 - name: includes in: query description: Optional related entities to include schema: type: array items: type: string - name: field in: query description: Pass Comma separated multiple fields schema: type: array items: type: string - name: filterExpression in: query description: '' schema: type: string responses: '200': description: OK '204': description: No Content patch: tags: - Price Programs summary: Update incentives description: Updates multiple incentives. requestBody: description: The list of incentives with updated data content: application/json: schema: type: array items: type: object additionalProperties: {} example: - Name: PriceProgramName AccountScope: - All AccountScopeOper: in AccountTypeScope: - All AccountTypeScopeOper: in IsActive: true AmendmentEffectiveDate: null Ancestor: null ApplicationMethod: Buy X Get X AutoApply: true BenefitUom: null CombineWithOtherIncentives: false ContextType: Line Item CountryScope: - All CountryScopeOper: in CycleEndDate: null CycleStartDate: null Description: Price program description Downgrade: null EffectiveDate: '2022-10-10' EnableBenefitEffectivityDates: false ExcludeChildrenWithActivePrograms: false ExpirationDate: '2023-10-10' IncentiveCode: null IncentiveGroup: null IncentiveNumber: null IncentiveNumberAuto: null IncentiveNumberText: null IncludeOrdersForAccountHierarchy: false IsBundle: false Loyalty: null MaxPoints: null OriginalEffectiveDate: null PointAccrualLevel: null PriceListScope: - All PriceListScopeOper: in ProductFamilyScope: - All ProductFamilyScopeOper: in ProductGroupScope: - All ProductGroupScopeOper: in ProductScope: - All ProductScopeOper: in RecurrenceFrequency: null RegionScope: - All RegionScopeOper: in RenewalEffectiveDate: null SearchField: null Sequence: 1 Status: New StopProcessingMoreIncentives: false SubUseType: Point Accrual Upgrade: null UseType: Price Program VersionNumber: null Criteria: null ExclusionCriteria: null Id: Id of the record text/json: schema: type: array items: type: object additionalProperties: {} application/*+json: schema: type: array items: type: object additionalProperties: {} responses: '200': description: OK post: tags: - Price Programs summary: Create incentives description: Creates multiple incentives. requestBody: description: The list of incentives to create content: application/json: schema: type: array items: $ref: '#/components/schemas/Incentive' text/json: schema: type: array items: $ref: '#/components/schemas/Incentive' application/*+json: schema: type: array items: $ref: '#/components/schemas/Incentive' responses: '200': description: OK /price-programs/{Id}: delete: tags: - Price Programs summary: Delete an incentive description: Deletes a single incentive by its identifier. parameters: - name: Id in: path description: The identifier of the incentive to delete required: true schema: type: string responses: '200': description: OK get: tags: - Price Programs summary: Retrieve an incentive description: Retrieves a single incentive by its identifier. parameters: - name: Id in: path description: The identifier of the incentive required: true schema: type: string - name: includes in: query description: Optional related entities to include schema: type: array items: type: string responses: '200': description: OK content: text/plain: schema: $ref: '#/components/schemas/Incentive' application/json: schema: $ref: '#/components/schemas/Incentive' text/json: schema: $ref: '#/components/schemas/Incentive' '204': description: No Content patch: tags: - Price Programs summary: Update an incentive description: Updates a single incentive. parameters: - name: Id in: path description: The identifier of the incentive to update required: true schema: type: string requestBody: description: The updated data of the incentive content: application/json: schema: type: object additionalProperties: {} example: Name: PriceProgramName AccountScope: - All AccountScopeOper: in AccountTypeScope: - All AccountTypeScopeOper: in IsActive: true AmendmentEffectiveDate: null Ancestor: null ApplicationMethod: Buy X Get X AutoApply: true BenefitUom: null CombineWithOtherIncentives: false ContextType: Line Item CountryScope: - All CountryScopeOper: in CycleEndDate: null CycleStartDate: null Description: Price program description Downgrade: null EffectiveDate: '2022-10-10' EnableBenefitEffectivityDates: false ExcludeChildrenWithActivePrograms: false ExpirationDate: '2023-10-10' IncentiveCode: null IncentiveGroup: null IncentiveNumber: null IncentiveNumberAuto: null IncentiveNumberText: null IncludeOrdersForAccountHierarchy: false IsBundle: false Loyalty: null MaxPoints: null OriginalEffectiveDate: null PointAccrualLevel: null PriceListScope: - All PriceListScopeOper: in ProductFamilyScope: - All ProductFamilyScopeOper: in ProductGroupScope: - All ProductGroupScopeOper: in ProductScope: - All ProductScopeOper: in RecurrenceFrequency: null RegionScope: - All RegionScopeOper: in RenewalEffectiveDate: null SearchField: null Sequence: 1 Status: New StopProcessingMoreIncentives: false SubUseType: Point Accrual Upgrade: null UseType: Price Program VersionNumber: null Criteria: null ExclusionCriteria: null text/json: schema: type: object additionalProperties: {} application/*+json: schema: type: object additionalProperties: {} responses: '200': description: OK components: schemas: Incentive: type: object properties: Id: type: - string - 'null' Name: type: - string - 'null' CreatedBy: $ref: '#/components/schemas/LookupObject' CreatedDate: type: string format: date-time ModifiedBy: $ref: '#/components/schemas/LookupObject' ModifiedDate: type: string format: date-time ExternalId: type: - string - 'null' ETag: type: - string - 'null' AccountScope: type: - array - 'null' items: type: string AccountScopeOper: type: - string - 'null' AccountTypeScope: type: - array - 'null' items: type: string AccountTypeScopeOper: type: - string - 'null' IsActive: type: - boolean - 'null' AmendmentEffectiveDate: type: - string - 'null' format: date-time Ancestor: $ref: '#/components/schemas/LookupObject' ApplicationMethod: type: - string - 'null' AutoApply: type: - boolean - 'null' BenefitUom: type: - string - 'null' CascadeBenefitsForBundles: type: - boolean - 'null' CombineWithOtherIncentives: type: - boolean - 'null' ContextType: type: - string - 'null' CountryScope: type: - array - 'null' items: type: string CountryScopeOper: type: - string - 'null' CycleEndDate: type: - string - 'null' format: date-time CycleStartDate: type: - string - 'null' format: date-time Description: type: - string - 'null' Downgrade: type: - string - 'null' EffectiveDate: type: - string - 'null' format: date-time EnableBenefitEffectivityDates: type: - boolean - 'null' ExcludeChildrenWithActivePrograms: type: - boolean - 'null' ExpirationDate: type: - string - 'null' format: date-time IncentiveCode: type: - string - 'null' IncentiveGroup: $ref: '#/components/schemas/LookupObject' IncentiveProgram: $ref: '#/components/schemas/LookupObject' IncentiveNumber: type: - string - 'null' IncentiveNumberAuto: type: - string - 'null' IncentiveNumberText: type: - string - 'null' IncludeOrdersForAccountHierarchy: type: - boolean - 'null' IsBundle: type: - boolean - 'null' Loyalty: $ref: '#/components/schemas/LookupObject' MaxPoints: type: - number - 'null' format: double OriginalEffectiveDate: type: - string - 'null' format: date-time PointAccrualLevel: type: - string - 'null' PriceListScope: type: - array - 'null' items: type: string PriceListScopeOper: type: - string - 'null' ProductFamilyScope: type: - array - 'null' items: type: string ProductFamilyScopeOper: type: - string - 'null' ProductGroupScope: type: - array - 'null' items: type: string ProductGroupScopeOper: type: - string - 'null' ProductScope: type: - array - 'null' items: type: string ProductScopeOper: type: - string - 'null' RecurrenceFrequency: type: - string - 'null' RegionScope: type: - array - 'null' items: type: string RegionScopeOper: type: - string - 'null' RenewalEffectiveDate: type: - string - 'null' format: date-time SearchField: type: - string - 'null' Sequence: type: - number - 'null' format: double EnableCurrency: type: - boolean - 'null' Currency: type: - string - 'null' Status: type: - string - 'null' StopProcessingMoreIncentives: type: - boolean - 'null' SubUseType: type: - string - 'null' Upgrade: type: - string - 'null' UseType: type: - string - 'null' VersionNumber: type: - number - 'null' format: double Criteria: type: - string - 'null' ExclusionCriteria: type: - string - 'null' AdhocGroupScope: type: - array - 'null' items: type: string IncentiveConditionExpression: type: - string - 'null' additionalProperties: {} example: Name: PriceProgramName AccountScope: - All AccountScopeOper: in AccountTypeScope: - All AccountTypeScopeOper: in IsActive: true AmendmentEffectiveDate: null Ancestor: null ApplicationMethod: Buy X Get X AutoApply: true BenefitUom: null CombineWithOtherIncentives: false ContextType: Line Item CountryScope: - All CountryScopeOper: in CycleEndDate: null CycleStartDate: null Description: Price program description Downgrade: null EffectiveDate: '2022-10-10' EnableBenefitEffectivityDates: false ExcludeChildrenWithActivePrograms: false ExpirationDate: '2023-10-10' IncentiveCode: null IncentiveGroup: null IncentiveNumber: null IncentiveNumberAuto: null IncentiveNumberText: null IncludeOrdersForAccountHierarchy: false IsBundle: false Loyalty: null MaxPoints: null OriginalEffectiveDate: null PointAccrualLevel: null PriceListScope: - All PriceListScopeOper: in ProductFamilyScope: - All ProductFamilyScopeOper: in ProductGroupScope: - All ProductGroupScopeOper: in ProductScope: - All ProductScopeOper: in RecurrenceFrequency: null RegionScope: - All RegionScopeOper: in RenewalEffectiveDate: null SearchField: null Sequence: 1 Status: New StopProcessingMoreIncentives: false SubUseType: Point Accrual Upgrade: null UseType: Price Program VersionNumber: null Criteria: null ExclusionCriteria: null LookupObject: type: object properties: Id: type: - string - 'null' Name: type: - string - 'null' additionalProperties: false securitySchemes: Bearer: type: apiKey description: Please insert JWT with Bearer into field name: Authorization in: header