SalesApi
Last updated
Last updated
It builds an HTTP request, sends it to the API, and returns the response as a SalesDto object.
This function will return a SaleDto
object from the API.
It returns a SalesDto object.
It returns a list of sales.
This function will return a list of logs for a specific sales order.
This function returns a list of logs for a specific sales order.
It returns a new Uri object with the value of the _requestUriBase field concatenated with the string "/sales".
It takes a IUriParameterBuilder
as a parameter and returns a Uri
that is the base request URI with the /sales
path and the URI parameters built by the IUriParameterBuilder
appended to it.
It returns a URI for a sale.
It returns a URI for the /sales/templates
endpoint.
It returns a URI for the sales logs endpoint.
It returns a URI for the sales logs endpoint.
public
()
It builds an HTTP request, sends it to the API, and returns the response as a SalesDto object.
A SalesDto object
This function will return a SaleDto
object from the API.
id
The id of the sale you want to retrieve.
A SaleDto object
It returns a SalesDto object.
SalesUriParameterBuilder
This is a class that contains all the parameters that you want to pass to the API.
A SalesDto object.
It returns a list of sales.
SalesUriParameterBuilder
This is a class that contains the parameters that will be used to build the URI.
A SalesDto object.
This function will return a list of logs for a specific sales order.
id
The id of the sales order you want to get the logs for.
A list of logs for a specific sale.
This function returns a list of logs for a specific sales order.
id
The id of the sales order
SalesUriParameterBuilder
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 with the value of the _requestUriBase field concatenated with the string "/sales".
It takes a IUriParameterBuilder
as a parameter and returns a Uri
that is the base request URI with the /sales
path and the URI parameters built by the IUriParameterBuilder
appended to it.
IUriParameterBuilder
This is an interface that is used to build the query string parameters for the request.
It returns a URI for a sale.
saleId
The id of the sale to be retrieved.
It returns a URI for the /sales/templates
endpoint.
IUriParameterBuilder
This is a class that is used to build the query string parameters for the request.
It returns a URI for the sales logs endpoint.
saleId
The id of the sale you want to get the logs for.
It returns a URI for the sales logs endpoint.
saleId
The id of the sale you want to get the logs for.
IUriParameterBuilder
This is an interface that is used to build the query string parameters for the request.
public
()
public
(int id)
public
(
uriParameterBuilder)
public
(
uriParameterBuilder)
public
(int id)
public
(int id,
salesUriParameterBuilder)
private readonly string
private Uri
()
private Uri
(
salesUriParameterBuilder)
private Uri
(int saleId)
private Uri
(
salesUriParameterBuilder)
private Uri
(int saleId)
private Uri
(int saleId,
salesUriParameterBuilder)
public
(int id)
public
(
uriParameterBuilder)
public
(
uriParameterBuilder)
public
(int id)
public
(int id,
salesUriParameterBuilder)
private readonly string
private Uri
()
private Uri
(
salesUriParameterBuilder)
private Uri
(int saleId)
private Uri
(
salesUriParameterBuilder)
private Uri
(int saleId)
private Uri
(int saleId,
salesUriParameterBuilder)