BokaMera.API.Host

<back to all web services

CreateAdditionalInvoice

Requires Authentication
Required role:superadminRequires the role:superadmin
The following routes are available for this service:
POST/superadmin/billing/company/additionalinvoicescreate company additional voice for the subscriptioncreate company additional voice for the subscription
CreateAdditionalInvoice Parameters:
NameParameterData TypeRequiredDescription
CompanyIdbodyGuidNoThe company id, if empty will use the company id for the user you are logged in with.
ArticleNobodyintNoArticleNo
QuantitybodyintNoQuantity
DescriptionbodystringNoDescription
DatebodyDateTime?NoInvoie date
CreatedBybodystringNoCreated By

To override the Content-type in your clients, use the HTTP Accept Header, append the .csv suffix or ?format=csv

HTTP + CSV

The following are sample HTTP requests and responses. The placeholders shown need to be replaced with actual values.

POST /superadmin/billing/company/additionalinvoices HTTP/1.1 
Host: testapi.bokamera.se 
Accept: text/csv
Content-Type: text/csv
Content-Length: length

{"ArticleNo":0,"Quantity":0,"Description":"String","Date":"0001-01-01T00:00:00","CreatedBy":"String"}
HTTP/1.1 200 OK
Content-Type: text/csv
Content-Length: length

{}