NATS5 REST API Report GET profit-loss
From TMM Wiki
Jump to navigationJump to search
GET /report/profit-loss
Description
- Get the profit/loss report
Resource URL
- http://domain/api/report/profit-loss
- Replace domain with the nats domain
- GET
Response Format
- JSON
- HTTP headers
Parameters
Parameters can be sent as url encoded params
- view
- optional
- focus
- optional
- widget
- optional
- display
- type: string
- optional
- period
- optional
- start
- optional
- count
- type: digit
- optional
- end
- optional
- total_only
- type: boolean_digit
- optional
- acct_rep
- optional
- acct_rep_compare
- type: string
- optional (default value: =)
- filter_loginid
- optional
- filter_loginid_compare
- type: string
- optional (default value: =)
- filter_campaignid
- optional
- filter_campaignid_compare
- type: string
- optional (default value: =)
- filter_siteid
- optional
- filter_siteid_compare
- type: string
- optional (default value: =)
- filter_tourid
- optional
- filter_tourid_compare
- type: string
- optional (default value: =)
- filter_optionid
- optional
- filter_optionid_compare
- type: string
- optional (default value: =)
- filter_adtoolid
- optional
- filter_adtoolid_compare
- type: string
- optional (default value: =)
- filter_billerid
- optional
- filter_billerid_compare
- type: string
- optional (default value: =)
- filter_programid
- optional
- filter_programid_compare
- type: string
- optional (default value: =)
- filter_countryid
- optional
- filter_countryid_compare
- type: string
- optional (default value: =)
- natscode
- optional
- natscode_compare
- type: string
- optional (default value: =)
- no_inhouse
- optional
- no_typein
- optional
- trans_start
- type: digit
- optional
- trans_count
- type: digit
- optional
- order
- type: string
- optional
- direction
- type: boolean_digit
- optional