POST api/Transaction?systemName={systemName}&username={username}&password={password}

Creates a new insertion order

Request Information

URI Parameters

NameDescriptionTypeAdditional information
systemName

string

Required

username

string

Required

password

string

Required

Body Parameters

APITransaction
NameDescriptionTypeAdditional information
Id

Unique identifier

integer

None.

AdvertiserId

Unique identifier of advertiser to which this belongs

integer

None.

InvoiceNumber

Sequentially allocated invoice number

integer

None.

AlternateInvoiceNumber

Manually allocated invoice number

integer

None.

OrderNumber

Order number used for display only

string

None.

TransactionTimestamp

Timestamp when this was created

string

None.

Amount

Total value of transaction

decimal number

None.

VatRate

Vat rate applicable to transaction

decimal number

None.

Reason

Textual notes

string

None.

Request Formats

application/json, text/json

Sample:
{
  "id": 1,
  "advertiserId": 2,
  "invoiceNumber": 1,
  "alternateInvoiceNumber": 1,
  "orderNumber": "sample string 3",
  "transactionTimestamp": "sample string 4",
  "amount": 1.1,
  "vatRate": 1.1,
  "reason": "sample string 5"
}

application/xml, text/xml

Sample:
<APITransaction xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/Rochester.Models">
  <AdvertiserId>2</AdvertiserId>
  <AlternateInvoiceNumber>1</AlternateInvoiceNumber>
  <Amount>1.1</Amount>
  <Id>1</Id>
  <InvoiceNumber>1</InvoiceNumber>
  <OrderNumber>sample string 3</OrderNumber>
  <Reason>sample string 5</Reason>
  <TransactionTimestamp>sample string 4</TransactionTimestamp>
  <VatRate>1.1</VatRate>
</APITransaction>

application/x-www-form-urlencoded

Sample:

Sample not available.

Response Information

Resource Description

integer

Response Formats

application/json, text/json

Sample:
1

application/xml, text/xml

Sample:
<int xmlns="http://schemas.microsoft.com/2003/10/Serialization/">1</int>