Skip to content

Commit

Permalink
Merge pull request #72 from adzerk/simonramzi/sc-52025/port-get-sched…
Browse files Browse the repository at this point in the history
…uled-report-from-beehive-to

Updated API spec with Omitted Values
  • Loading branch information
vkurup authored Jun 28, 2024
2 parents a678691 + 22970c1 commit 2ad301e
Showing 1 changed file with 149 additions and 10 deletions.
159 changes: 149 additions & 10 deletions management/schemas/scheduled-report.yaml
Original file line number Diff line number Diff line change
@@ -1,29 +1,168 @@
schemas:

ScheduledReport:
Id:
type: integer
format: int32

Parameters:
oneOf:
- type: object
properties:
advertiserId:
$ref: '#/schemas/Id'
brandId:
$ref: '#/schemas/Id'
required:
- advertiserId
- brandId
- type: object
properties:
adTypeId:
$ref: '#/schemas/Id'
required:
- adTypeId
- type: object
properties:
campaignId:
$ref: '#/schemas/Id'
required:
- campaignId
- type: object
properties:
channelId:
$ref: '#/schemas/Id'
required:
- channelId
- type: object
properties:
city:
type: string
required:
- city
- type: object
properties:
countryCode:
type: string
required:
- countryCode
- type: object
properties:
creativeId:
$ref: '#/schemas/Id'
required:
- creativeId
- type: object
properties:
flightId:
$ref: '#/schemas/Id'
optionId:
$ref: '#/schemas/Id'
required:
- flightId
- optionId
- type: object
properties:
keyword:
type: string
required:
- keyword
- type: object
properties:
metroCode:
type: integer
format: int32
required:
- metroCode
- type: object
properties:
priorityId:
$ref: '#/schemas/Id'
required:
- priorityId
- type: object
properties:
publisherAccountId:
$ref: '#/schemas/Id'
required:
- publisherAccountId
- type: object
properties:
regionCode:
type: string
required:
- regionCode
- type: object
properties:
siteId:
$ref: '#/schemas/Id'
required:
- siteId
- type: object
properties:
zoneId:
$ref: '#/schemas/Id'
required:
- zoneId

Criteria:
type: object
properties:
Id:
type: integer
format: int32
Name:
EndDate:
type: string
LoginId:
format: date
EndDateISO:
type: string
format: date
Exclude3rdParty:
type: boolean
ExcludeParameters:
$ref: '#/schemas/Parameters'
GroupBy:
type: array
items:
type: string
IsTotal:
type: boolean
Parameters:
$ref: '#/schemas/Parameters'
StartDate:
type: string
format: date
StartDateISO:
type: string
format: date
ToDate:
type: integer
format: int32
Top30countries:
type: boolean

ScheduledReport:
type: object
properties:
Id:
$ref: '#/schemas/Id'
Criteria:
$ref: '#/schemas/Criteria'
FixedDate:
type: boolean
IsDeleted:
type: boolean
KickoffDate:
type: string
format: date
SchedulingWindow:
LoginId:
$ref: '#/schemas/Id'
Name:
type: string
RecurrenceType:
type: integer
format: int32
enum: [0, 1, 2, 3]
RecurrenceType:
SchedulingWindow:
type: integer
format: int32
enum: [0, 1, 2, 3]
Criteria:
type: object

ScheduledReportList:
type: object
Expand Down

0 comments on commit 2ad301e

Please sign in to comment.