Requires any of the roles: | bookingsupplier-administrator-write, superadmin |
PUT | /eaccounting/article/mappings | Update price mappings only for E-Accounting; | Update price mappings for E-Accounting prices |
---|
Name | Parameter | Data Type | Required | Description |
---|---|---|---|---|
ServicePriceMappings | body | List<ServicePriceMapping> | No | |
CompanyId | body | Guid? | No | Company to show services for |
Name | Parameter | Data Type | Required | Description |
---|---|---|---|---|
Id | form | Guid? | No | The id |
PriceId | form | int | No | The price id |
ReferenceType | form | string | No | The Reference Type |
ExternalReference | form | string | No | The external reference; Values for e-accounting; EAccountingCustomerId, EAccountingArticle, EAccountingInvoice, EAccountingDraftInvoice |
Name | Parameter | Data Type | Required | Description |
---|---|---|---|---|
CompanyId | form | Guid | No | The company id |
Id | form | Guid | No | |
PriceId | form | int | No | The price id |
ExternalReference | form | string | No | The external reference |
ReferenceType | form | string | No | The Reference Type |
To override the Content-type in your clients, use the HTTP Accept Header, append the .other suffix or ?format=other
The following are sample HTTP requests and responses. The placeholders shown need to be replaced with actual values.
PUT /eaccounting/article/mappings HTTP/1.1
Host: api.bokamera.se
Accept: text/jsonl
Content-Type: text/jsonl
Content-Length: length
{"ServicePriceMappings":[{"Id":"00000000-0000-0000-0000-000000000000","PriceId":0,"ReferenceType":"String","ExternalReference":"String"}],"CompanyId":"00000000-0000-0000-0000-000000000000"}
HTTP/1.1 200 OK Content-Type: text/jsonl Content-Length: length {"PriceId":0,"ExternalReference":"String","ReferenceType":"String"}