PUT V3/odata/ItemCompany({key})
Updates ItemCompany entity
Request Information
URI Parameters
Name | Description | Type | Additional information |
---|---|---|---|
key |
ItemCompanyId from ItemCompany entity |
integer |
Required |
Body Parameters
QicsUnity.Api.Areas.V3.Models.ItemCompanyName | Description | Type | Additional information |
---|---|---|---|
AllowPriceModifications |
Gets or sets a value indicating whether to allow price modifications |
boolean |
Required |
AllowTimeEntry |
Gets or sets a value indicating whether this item can be used in time entry |
boolean |
Required |
GLAccountRevenue |
Gets or sets GLAccountRevenue |
string | |
IsActive |
Gets or sets a value indicating whether this item is active |
boolean |
Required |
ItemCode |
Gets or sets item code |
string |
Required |
ItemGroupId |
Gets or sets a reference to item group where this item belongs |
integer |
64-bit signed integer Nullable |
ItemHyperlinkCountsId |
Gets or sets the ItemHyperlinkCountsId |
integer |
64-bit signed integer |
ItemId |
Gets or sets ItemId |
integer |
64-bit signed integer Nullable |
ItemCompanyId |
Gets or sets the PK |
integer |
Required 64-bit signed integer |
CompanyId |
Gets or sets CompanyId |
integer |
64-bit signed integer Nullable |
ItemType |
Gets or sets item type |
QicsUnity.Api.Areas.V3.Models.ItemType |
Required |
LongDescription |
Gets or sets long description of item |
string | |
Name |
Gets or sets the name of the item |
string |
Required |
SurchargeItemCompanyId |
Gets or sets a reference to surcharge item company |
integer |
64-bit signed integer Nullable |
SurchargePercentage |
Gets or sets surcharge percentage |
decimal number |
Nullable |
VatCodeId |
Gets or sets VatCodeId |
integer |
64-bit signed integer Nullable |
WillBeInvoiced |
Gets or sets a value indicating whether the item will be invoiced |
boolean |
Required |
Request Formats
application/json, text/json
{ "AllowPriceModifications": true, "AllowTimeEntry": true, "GLAccountRevenue": "sample 3", "IsActive": true, "ItemCode": "sample 5", "ItemGroupId": "1", "ItemHyperlinkCountsId": "6", "ItemId": "1", "ItemCompanyId": "7", "CompanyId": "1", "ItemType": "Hours", "LongDescription": "sample 8", "Name": "sample 9", "SurchargeItemCompanyId": "1", "SurchargePercentage": "1", "VatCodeId": "1", "WillBeInvoiced": true }
application/xml, text/xml
<ItemCompany xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/QicsUnity.Api.Areas.V3.Models"> <AllowPriceModifications>true</AllowPriceModifications> <AllowTimeEntry>true</AllowTimeEntry> <CompanyId>1</CompanyId> <GLAccountRevenue>sample 3</GLAccountRevenue> <IsActive>true</IsActive> <ItemCode>sample 5</ItemCode> <ItemCompanyId>7</ItemCompanyId> <ItemGroupId>1</ItemGroupId> <ItemHyperlinkCountsId>6</ItemHyperlinkCountsId> <ItemId>1</ItemId> <ItemType>Hours</ItemType> <LongDescription>sample 8</LongDescription> <Name>sample 9</Name> <SurchargeItemCompanyId>1</SurchargeItemCompanyId> <SurchargePercentage>1</SurchargePercentage> <VatCodeId>1</VatCodeId> <WillBeInvoiced>true</WillBeInvoiced> </ItemCompany>
Response Information
Resource Description
QicsUnity.Api.Areas.V3.Models.ItemCompanyName | Description | Type | Additional information |
---|---|---|---|
AllowPriceModifications |
Gets or sets a value indicating whether to allow price modifications |
boolean |
Required |
AllowTimeEntry |
Gets or sets a value indicating whether this item can be used in time entry |
boolean |
Required |
GLAccountRevenue |
Gets or sets GLAccountRevenue |
string | |
IsActive |
Gets or sets a value indicating whether this item is active |
boolean |
Required |
ItemCode |
Gets or sets item code |
string |
Required |
ItemGroupId |
Gets or sets a reference to item group where this item belongs |
integer |
64-bit signed integer Nullable |
ItemHyperlinkCountsId |
Gets or sets the ItemHyperlinkCountsId |
integer |
64-bit signed integer |
ItemId |
Gets or sets ItemId |
integer |
64-bit signed integer Nullable |
ItemCompanyId |
Gets or sets the PK |
integer |
Required 64-bit signed integer |
CompanyId |
Gets or sets CompanyId |
integer |
64-bit signed integer Nullable |
ItemType |
Gets or sets item type |
QicsUnity.Api.Areas.V3.Models.ItemType |
Required |
LongDescription |
Gets or sets long description of item |
string | |
Name |
Gets or sets the name of the item |
string |
Required |
SurchargeItemCompanyId |
Gets or sets a reference to surcharge item company |
integer |
64-bit signed integer Nullable |
SurchargePercentage |
Gets or sets surcharge percentage |
decimal number |
Nullable |
VatCodeId |
Gets or sets VatCodeId |
integer |
64-bit signed integer Nullable |
WillBeInvoiced |
Gets or sets a value indicating whether the item will be invoiced |
boolean |
Required |
Response Formats
application/json, text/json
{ "AllowPriceModifications": true, "AllowTimeEntry": true, "GLAccountRevenue": "sample 3", "IsActive": true, "ItemCode": "sample 5", "ItemGroupId": "1", "ItemHyperlinkCountsId": "6", "ItemId": "1", "ItemCompanyId": "7", "CompanyId": "1", "ItemType": "Hours", "LongDescription": "sample 8", "Name": "sample 9", "SurchargeItemCompanyId": "1", "SurchargePercentage": "1", "VatCodeId": "1", "WillBeInvoiced": true }
application/xml, text/xml
<ItemCompany xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/QicsUnity.Api.Areas.V3.Models"> <AllowPriceModifications>true</AllowPriceModifications> <AllowTimeEntry>true</AllowTimeEntry> <CompanyId>1</CompanyId> <GLAccountRevenue>sample 3</GLAccountRevenue> <IsActive>true</IsActive> <ItemCode>sample 5</ItemCode> <ItemCompanyId>7</ItemCompanyId> <ItemGroupId>1</ItemGroupId> <ItemHyperlinkCountsId>6</ItemHyperlinkCountsId> <ItemId>1</ItemId> <ItemType>Hours</ItemType> <LongDescription>sample 8</LongDescription> <Name>sample 9</Name> <SurchargeItemCompanyId>1</SurchargeItemCompanyId> <SurchargePercentage>1</SurchargePercentage> <VatCodeId>1</VatCodeId> <WillBeInvoiced>true</WillBeInvoiced> </ItemCompany>