| Requires any of the roles: | bookingsupplier-administrator-write, superadmin |
| PUT | /company/invoice/article | Update company invoice article | Update company invoice article. |
|---|
| Name | Parameter | Data Type | Required | Description |
|---|---|---|---|---|
| Id | body | int | Yes | Invoice article No in Db. |
| Name | body | string | Yes | Invoice article Name |
| LicenseTypeId | body | int? | No | Invoice article Name |
| LicenseProductTypeId | body | int? | No | Invoice LicenseProductTypeId |
| IsMainLicense | body | bool? | No | Invoice article is TIER license |
| VossProductGroupId | body | Guid? | No | Invoice VossProductGroupId reference |
| Name | Parameter | Data Type | Required | Description |
|---|---|---|---|---|
| Name | form | string | Yes | |
| LicenseTypeId | form | int? | No | |
| LicenseProductTypeId | form | int | No | |
| Id | form | int | No |
To override the Content-type in your clients, use the HTTP Accept Header, append the .csv suffix or ?format=csv
The following are sample HTTP requests and responses. The placeholders shown need to be replaced with actual values.
PUT /company/invoice/article HTTP/1.1
Host: testapi.bokamera.se
Accept: text/csv
Content-Type: text/csv
Content-Length: length
{"Id":0,"Name":"String","LicenseTypeId":0,"LicenseProductTypeId":0,"IsMainLicense":false,"VossProductGroupId":"00000000-0000-0000-0000-000000000000"}
HTTP/1.1 200 OK
Content-Type: text/csv
Content-Length: length
{"Name":"String","LicenseTypeId":0,"LicenseProductTypeId":0,"Id":0}