OffersApi
Last updated
Last updated
This function will make a GET request to the Offers
endpoint and return the response as a OffersDto
object.
It takes a OffersUriParameterBuilder
object as a parameter, builds a HttpRequestMessage
object, sends it to the API, and returns the response as a OffersDto
object.
This function will return an OfferDto object if the API call is successful. Otherwise, it will throw an exception.
This function will return a list of logs for a specific offer.
This function returns a list of logs for a specific offer.
It returns a new Uri
object that is built from the _requestUriBase
field and the
/offers
path
It takes a OffersUriParameterBuilder
object as a parameter and returns a Uri
object.
It takes an offer ID and returns a URI.
It returns a URI for the offer logs endpoint
It returns a URI for the offer logs endpoint.
public
()
This function will make a GET request to the Offers
endpoint and return the response as a OffersDto
object.
A list of offers
It takes a OffersUriParameterBuilder
object as a parameter, builds a HttpRequestMessage
object, sends it to the API, and returns the response as a OffersDto
object.
OffersUriParameterBuilder
This is a class that contains all the parameters that can be passed to the API.
A list of offers.
This function will return an OfferDto object if the API call is successful. Otherwise, it will throw an exception.
offerId
The id of the offer you want to retrieve.
A single offer
This function will return a list of logs for a specific offer.
offerId
The offer ID of the offer you want to get the logs for.
A list of logs for the offer.
This function returns a list of logs for a specific offer.
offerId
The offer id of the offer you want to get the logs for.
OffersUriParameterBuilder
This is a class that contains all the parameters that can be passed to the API.
A LogsDto object
It returns a new Uri
object that is built from the _requestUriBase
field and the
/offers
path
It takes a OffersUriParameterBuilder
object as a parameter and returns a Uri
object.
OffersUriParameterBuilder
A class that builds the query string parameters for the request.
It takes an offer ID and returns a URI.
offerId
The offer ID of the offer you want to get.
It returns a URI for the offer logs endpoint
offerId
The ID of the offer you want to get logs for.
It returns a URI for the offer logs endpoint.
offerId
The offer ID
OffersUriParameterBuilder
This is a class that builds the query string parameters for the request.
public
()
public
(
offersUriParameterBuilder)
public
(string offerId)
public
(string offerId)
public
(string offerId,
schemasUriParameterBuilder)
private readonly string
private Uri
()
private Uri
(
offersUriParameterBuilder)
private Uri
(string offerId)
private Uri
(string offerId)
private Uri
(string offerId,
offersUriParameterBuilder)
public
(
offersUriParameterBuilder)
public
(string offerId)
public
(string offerId)
public
(string offerId,
schemasUriParameterBuilder)
private readonly string
private Uri
()
private Uri
(
offersUriParameterBuilder)
private Uri
(string offerId)
private Uri
(string offerId)
private Uri
(string offerId,
offersUriParameterBuilder)