GET V3/odata/CustomerCompany({key})
Gets CustomerCompany entity by key
Request Information
URI Parameters
Name | Description | Type | Additional information |
---|---|---|---|
key |
CustomerCompanyId from CustomerCompany entity |
integer |
Required |
Body Parameters
None.
Response Information
Resource Description
QicsUnity.Api.Areas.V3.Models.CustomerCompanyName | Description | Type | Additional information |
---|---|---|---|
CategoryId |
Gets or sets CategoryId |
integer |
64-bit signed integer Nullable |
CompanyId |
Gets or sets CustomerCompany.CompanyId |
integer |
64-bit signed integer Nullable |
CustomerCode |
Gets or sets the customer code |
string |
Required |
CustomerId |
Gets or sets the CustomerId |
integer |
64-bit signed integer Nullable |
CustomerCompanyId |
Gets or sets CustomerCompany.CustomerCompanyId |
integer |
Required 64-bit signed integer |
CostCenterId |
Gets or sets CustomerCompany.CostCenterId |
integer |
64-bit signed integer Nullable |
VatCodeId |
Gets or sets CustomerCompany.VatCodeId |
integer |
64-bit signed integer Nullable |
PriceIndex |
Gets or sets CustomerCompany.PriceIndex |
decimal number |
Nullable |
InvoiceAddressSameAsVisitAddress |
Gets or sets a value indicating whether invoice address is the same as visit address |
boolean |
Nullable |
IsActive |
Gets or sets a value indicating whether this customer is active |
boolean |
Required |
CustomerType |
Gets or sets CustomerType |
QicsUnity.Api.Areas.V3.Models.CustomerType |
Nullable |
ManagerEmployeeCompanyId |
Gets or sets ManagerEmployeeCompanyId |
integer |
64-bit signed integer Nullable |
Name |
Gets or sets the name |
string |
Required |
VisitAddressAddress1 |
Gets or sets the first address line |
string | |
VisitAddressAddress2 |
Gets or sets the second address line |
string | |
VisitAddressAddress3 |
Gets or sets the third address line |
string | |
VisitAddressCity |
Gets or sets the city |
string | |
VisitAddressContactPerson |
Gets or sets the contact person |
string | |
VisitAddressCountry |
Gets or sets the country |
string | |
VisitAddressCountryCode |
Gets or sets the country code |
string | |
VisitAddressCounty |
Gets or sets the county |
string | |
VisitAddressEmailAddress |
Gets or sets the email address |
string | |
VisitAddressPhoneNumber |
Gets or sets the phone number |
string | |
VisitAddressZipCode |
Gets or sets the zip code |
string | |
InvoiceAddressAddress1 |
Gets or sets the first address line |
string | |
InvoiceAddressAddress2 |
Gets or sets the second address line |
string | |
InvoiceAddressAddress3 |
Gets or sets the third address line |
string | |
InvoiceAddressCity |
Gets or sets the city |
string | |
InvoiceAddressContactPerson |
Gets or sets the contact person |
string | |
InvoiceAddressCountry |
Gets or sets the country |
string | |
InvoiceAddressCountryCode |
Gets or sets the country code |
string | |
InvoiceAddressCounty |
Gets or sets the county |
string | |
InvoiceAddressEmailAddress |
Gets or sets the email address |
string | |
InvoiceAddressPhoneNumber |
Gets or sets the phone number |
string | |
InvoiceAddressZipCode |
Gets or sets the zip code |
string | |
AlternativeInvoiceName |
Gets or sets an alternative invoice name |
string | |
CollectInvoices |
Gets or sets a value indicating whether invoices will be grouped into one |
boolean |
Nullable |
ContactPersonName |
Gets or sets a name of the contact person |
string | |
InvoiceCustomerCompanyId |
Gets or sets InvoiceCustomerCompanyId |
integer |
64-bit signed integer Nullable |
InvoiceLayoutId |
Gets or sets InvoiceLayoutId |
integer |
64-bit signed integer Nullable |
InvoiceSpecification |
Gets or sets a value indicating whether invoice will have detailed specification. If null is set, the value is taken from company. |
boolean |
Nullable |
SendInvoiceMethod |
Gets or sets send method |
QicsUnity.Api.Areas.V3.Models.InvoiceSendMethodType |
Nullable |
SendInvoiceBcc |
Gets or sets SendInvoiceBcc property |
string | |
SendInvoiceCc |
Gets or sets SendInvoiceCc property |
string | |
SendInvoiceTo |
Gets or sets SendInvoiceTo property |
string | |
SendInvoiceRecipientName |
Gets or sets SendInvoiceRecipientName property |
string | |
SendInvoiceEmailTemplateId |
Gets or sets SendInvoiceEmailTemplateId property |
integer |
64-bit signed integer Nullable |
VatNumber |
Gets or sets VAT number |
string | |
PaymentConditionId |
Gets or sets PaymentConditionId |
integer |
64-bit signed integer Nullable |
LegalEntityCode |
Gets or sets LegalEntityCode (supported values: 0106, 9954, 0190, 9944, Other) |
string | |
LegalEntity |
Gets or sets LegalEntity (supported values: NL:KVK, NL:OIN, NL:BTW, 0106-NL:KVK, 9954-NL:OIN, 0190-NL:OIN, 9944-NL:BTW, Other) |
string | |
Identification |
Gets or sets Identification |
string | |
OurReference |
Gets or sets OurReference |
string | |
Notes |
Gets or sets Notes |
string |
Response Formats
application/json, text/json
{ "CategoryId": "1", "CompanyId": "1", "CustomerCode": "sample 1", "CustomerId": "1", "CustomerCompanyId": "2", "CostCenterId": "1", "VatCodeId": "1", "PriceIndex": "1", "InvoiceAddressSameAsVisitAddress": true, "IsActive": true, "CustomerType": "Customer", "ManagerEmployeeCompanyId": "1", "Name": "sample 4", "VisitAddressAddress1": "sample 5", "VisitAddressAddress2": "sample 6", "VisitAddressAddress3": "sample 7", "VisitAddressCity": "sample 8", "VisitAddressContactPerson": "sample 9", "VisitAddressCountry": "sample 10", "VisitAddressCountryCode": "sample 11", "VisitAddressCounty": "sample 12", "VisitAddressEmailAddress": "sample 13", "VisitAddressPhoneNumber": "sample 14", "VisitAddressZipCode": "sample 15", "InvoiceAddressAddress1": "sample 16", "InvoiceAddressAddress2": "sample 17", "InvoiceAddressAddress3": "sample 18", "InvoiceAddressCity": "sample 19", "InvoiceAddressContactPerson": "sample 20", "InvoiceAddressCountry": "sample 21", "InvoiceAddressCountryCode": "sample 22", "InvoiceAddressCounty": "sample 23", "InvoiceAddressEmailAddress": "sample 24", "InvoiceAddressPhoneNumber": "sample 25", "InvoiceAddressZipCode": "sample 26", "AlternativeInvoiceName": "sample 27", "CollectInvoices": true, "ContactPersonName": "sample 28", "InvoiceCustomerCompanyId": "1", "InvoiceLayoutId": "1", "InvoiceSpecification": true, "SendInvoiceMethod": "Manual", "SendInvoiceBcc": "sample 29", "SendInvoiceCc": "sample 30", "SendInvoiceTo": "sample 31", "SendInvoiceRecipientName": "sample 32", "SendInvoiceEmailTemplateId": "1", "VatNumber": "sample 33", "PaymentConditionId": "1", "LegalEntityCode": "sample 34", "LegalEntity": "sample 35", "Identification": "sample 36", "OurReference": "sample 37", "Notes": "sample 38" }
application/xml, text/xml
<CustomerCompany xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/QicsUnity.Api.Areas.V3.Models"> <AlternativeInvoiceName>sample 27</AlternativeInvoiceName> <CategoryId>1</CategoryId> <CollectInvoices>true</CollectInvoices> <CompanyId>1</CompanyId> <ContactPersonName>sample 28</ContactPersonName> <CostCenterId>1</CostCenterId> <CustomerCode>sample 1</CustomerCode> <CustomerCompanyId>2</CustomerCompanyId> <CustomerId>1</CustomerId> <CustomerType>Customer</CustomerType> <Identification>sample 36</Identification> <InvoiceAddressAddress1>sample 16</InvoiceAddressAddress1> <InvoiceAddressAddress2>sample 17</InvoiceAddressAddress2> <InvoiceAddressAddress3>sample 18</InvoiceAddressAddress3> <InvoiceAddressCity>sample 19</InvoiceAddressCity> <InvoiceAddressContactPerson>sample 20</InvoiceAddressContactPerson> <InvoiceAddressCountry>sample 21</InvoiceAddressCountry> <InvoiceAddressCountryCode>sample 22</InvoiceAddressCountryCode> <InvoiceAddressCounty>sample 23</InvoiceAddressCounty> <InvoiceAddressEmailAddress>sample 24</InvoiceAddressEmailAddress> <InvoiceAddressPhoneNumber>sample 25</InvoiceAddressPhoneNumber> <InvoiceAddressSameAsVisitAddress>true</InvoiceAddressSameAsVisitAddress> <InvoiceAddressZipCode>sample 26</InvoiceAddressZipCode> <InvoiceCustomerCompanyId>1</InvoiceCustomerCompanyId> <InvoiceLayoutId>1</InvoiceLayoutId> <InvoiceSpecification>true</InvoiceSpecification> <IsActive>true</IsActive> <LegalEntity>sample 35</LegalEntity> <LegalEntityCode>sample 34</LegalEntityCode> <ManagerEmployeeCompanyId>1</ManagerEmployeeCompanyId> <Name>sample 4</Name> <Notes>sample 38</Notes> <OurReference>sample 37</OurReference> <PaymentConditionId>1</PaymentConditionId> <PriceIndex>1</PriceIndex> <SendInvoiceBcc>sample 29</SendInvoiceBcc> <SendInvoiceCc>sample 30</SendInvoiceCc> <SendInvoiceEmailTemplateId>1</SendInvoiceEmailTemplateId> <SendInvoiceMethod>Manual</SendInvoiceMethod> <SendInvoiceRecipientName>sample 32</SendInvoiceRecipientName> <SendInvoiceTo>sample 31</SendInvoiceTo> <VatCodeId>1</VatCodeId> <VatNumber>sample 33</VatNumber> <VisitAddressAddress1>sample 5</VisitAddressAddress1> <VisitAddressAddress2>sample 6</VisitAddressAddress2> <VisitAddressAddress3>sample 7</VisitAddressAddress3> <VisitAddressCity>sample 8</VisitAddressCity> <VisitAddressContactPerson>sample 9</VisitAddressContactPerson> <VisitAddressCountry>sample 10</VisitAddressCountry> <VisitAddressCountryCode>sample 11</VisitAddressCountryCode> <VisitAddressCounty>sample 12</VisitAddressCounty> <VisitAddressEmailAddress>sample 13</VisitAddressEmailAddress> <VisitAddressPhoneNumber>sample 14</VisitAddressPhoneNumber> <VisitAddressZipCode>sample 15</VisitAddressZipCode> </CustomerCompany>