POST V3/odata/ItemCompany
Inserts ItemCompany entity
Request Information
URI Parameters
None.
Body Parameters
QicsUnity.Api.Areas.V3.Models.ItemCompany| Name | Description | Type | Additional information |
|---|---|---|---|
| AllowPlanning |
Gets or sets a value indicating whether planning is allowed on this item |
boolean |
Required |
| 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 |
| ServiceDeliveryDateSource |
Gets or sets service delivery date source |
QicsUnity.Api.Areas.V3.Models.ServiceDeliveryDateSource |
Required |
Request Formats
application/json, text/json, application/scim+json
{
"AllowPlanning": true,
"AllowPriceModifications": true,
"AllowTimeEntry": true,
"GLAccountRevenue": "sample 4",
"IsActive": true,
"ItemCode": "sample 6",
"ItemGroupId": "1",
"ItemHyperlinkCountsId": "7",
"ItemId": "1",
"ItemCompanyId": "8",
"CompanyId": "1",
"ItemType": "Hours",
"LongDescription": "sample 9",
"Name": "sample 10",
"SurchargeItemCompanyId": "1",
"SurchargePercentage": "1",
"VatCodeId": "1",
"WillBeInvoiced": true,
"ServiceDeliveryDateSource": "InvoiceHeader"
}
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"> <AllowPlanning>true</AllowPlanning> <AllowPriceModifications>true</AllowPriceModifications> <AllowTimeEntry>true</AllowTimeEntry> <CompanyId>1</CompanyId> <GLAccountRevenue>sample 4</GLAccountRevenue> <IsActive>true</IsActive> <ItemCode>sample 6</ItemCode> <ItemCompanyId>8</ItemCompanyId> <ItemGroupId>1</ItemGroupId> <ItemHyperlinkCountsId>7</ItemHyperlinkCountsId> <ItemId>1</ItemId> <ItemType>Hours</ItemType> <LongDescription>sample 9</LongDescription> <Name>sample 10</Name> <ServiceDeliveryDateSource>InvoiceHeader</ServiceDeliveryDateSource> <SurchargeItemCompanyId>1</SurchargeItemCompanyId> <SurchargePercentage>1</SurchargePercentage> <VatCodeId>1</VatCodeId> <WillBeInvoiced>true</WillBeInvoiced> </ItemCompany>
Response Information
Resource Description
QicsUnity.Api.Areas.V3.Models.ItemCompany| Name | Description | Type | Additional information |
|---|---|---|---|
| AllowPlanning |
Gets or sets a value indicating whether planning is allowed on this item |
boolean |
Required |
| 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 |
| ServiceDeliveryDateSource |
Gets or sets service delivery date source |
QicsUnity.Api.Areas.V3.Models.ServiceDeliveryDateSource |
Required |
Response Formats
application/json, text/json, application/scim+json
{
"AllowPlanning": true,
"AllowPriceModifications": true,
"AllowTimeEntry": true,
"GLAccountRevenue": "sample 4",
"IsActive": true,
"ItemCode": "sample 6",
"ItemGroupId": "1",
"ItemHyperlinkCountsId": "7",
"ItemId": "1",
"ItemCompanyId": "8",
"CompanyId": "1",
"ItemType": "Hours",
"LongDescription": "sample 9",
"Name": "sample 10",
"SurchargeItemCompanyId": "1",
"SurchargePercentage": "1",
"VatCodeId": "1",
"WillBeInvoiced": true,
"ServiceDeliveryDateSource": "InvoiceHeader"
}
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"> <AllowPlanning>true</AllowPlanning> <AllowPriceModifications>true</AllowPriceModifications> <AllowTimeEntry>true</AllowTimeEntry> <CompanyId>1</CompanyId> <GLAccountRevenue>sample 4</GLAccountRevenue> <IsActive>true</IsActive> <ItemCode>sample 6</ItemCode> <ItemCompanyId>8</ItemCompanyId> <ItemGroupId>1</ItemGroupId> <ItemHyperlinkCountsId>7</ItemHyperlinkCountsId> <ItemId>1</ItemId> <ItemType>Hours</ItemType> <LongDescription>sample 9</LongDescription> <Name>sample 10</Name> <ServiceDeliveryDateSource>InvoiceHeader</ServiceDeliveryDateSource> <SurchargeItemCompanyId>1</SurchargeItemCompanyId> <SurchargePercentage>1</SurchargePercentage> <VatCodeId>1</VatCodeId> <WillBeInvoiced>true</WillBeInvoiced> </ItemCompany>