| 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 .jsv suffix or ?format=jsv
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/jsv
Content-Type: text/jsv
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/jsv
Content-Length: length
{
Name: String,
LicenseTypeId: 0,
LicenseProductTypeId: 0,
Id: 0
}