GET | /eaccounting/customers |
---|
Name | Parameter | Data Type | Required | Description |
---|---|---|---|---|
CompanyId | query | Guid? | No |
Name | Parameter | Data Type | Required | Description |
---|---|---|---|---|
PageNumber | form | int? | No | Page number that will be fetched to e-accounting client; Default 1 |
PageSize | form | int? | No | Page size that will be fetched to e-accounting client; Default 75~ |
Name | Parameter | Data Type | Required | Description |
---|---|---|---|---|
Id | form | string | No |
Name | Parameter | Data Type | Required | Description |
---|---|---|---|---|
CustomerNumber | form | string | No | |
ContactPersonEmail | form | string | No | |
ContactPersonMobile | form | string | No | |
ContactPersonName | form | string | No | |
ContactPersonPhone | form | string | No | |
CurrencyCode | form | string | No | |
GLN | form | string | No | |
EmailAddress | form | string | No | |
EmailAddressOrder | form | string | No | |
EmailAddressQuote | form | string | No | |
DeliveryCustomerName | form | string | No | |
DeliveryAddress1 | form | string | No | |
DeliveryAddress2 | form | string | No | |
DeliveryCity | form | string | No | |
DeliveryCountryCode | form | string | No | |
DeliveryPostalCode | form | string | No | |
DeliveryMethodId | form | string | No | |
DeliveryTermId | form | string | No | |
PayToAccountId | form | string | No | |
Name | form | string | No | |
Note | form | string | No | |
ReverseChargeOnConstructionServices | form | bool | No | |
WebshopCustomerNumber | form | int? | No | |
MobilePhone | form | string | No | |
Telephone | form | string | No | |
TermsOfPaymentId | form | string | No | |
EAccountingTermsOfPayment | form | EAccountingTermsOfPayment | No | |
VatNumber | form | string | No | |
WwwAddress | form | string | No | |
LastInvoiceDate | form | string | No | |
IsPrivatePerson | form | bool | No | |
IsNorthernIreland | form | bool | No | |
DiscountPercentage | form | decimal | No | |
ChangedUtc | form | DateTime? | No | |
IsActive | form | bool | No | |
ForceBookkeepVat | form | bool | No | |
EdiGlnNumber | form | string | No | |
SalesDocumentLanguage | form | string | No | |
ElectronicAddress | form | string | No | |
ElectronicReference | form | string | No | |
EdiServiceDelivererId | form | string | No | |
AutoInvoiceActivationEmailSentDate | form | DateTime? | No | |
AutoInvoiceRegistrationRequestSentDate | form | DateTime? | No | |
EmailAddresses | form | List<string> | No | |
CustomerLabels | form | List<CustomerLabel> | No | |
MessageThreads | form | List<string> | No | |
Notes | form | List<string> | No | |
IsFutureInvoiceDateAllowed | form | bool | No | |
DeliveryBasedVat | form | bool | No | |
SalesPriceListId | form | string | No | |
Iban | form | string | No | |
DirectDebitCustomerSettings | form | DirectDebitCustomerSettings | No | |
DiscountAgreementId | form | string | No | |
UnpaidInvoicesAmount | form | decimal | No |
Name | Parameter | Data Type | Required | Description |
---|---|---|---|---|
CorporateIdentityNumber | form | string | No | |
InvoiceAddress1 | form | string | No | |
InvoiceAddress2 | form | string | No | |
InvoiceCity | form | string | No | |
InvoicePostalCode | form | string | No | |
InvoiceCountryCode | form | string | No |
Name | Parameter | Data Type | Required | Description |
---|---|---|---|---|
Id | form | string | No | |
Name | form | string | No | |
NameEnglish | form | string | No | |
NumberOfDays | form | int | No | |
TermsOfPaymentTypeId | form | int | No | |
TermsOfPaymentTypeText | form | string | No | |
AvailableForSales | form | bool | No | |
AvailableForPurchase | form | bool | No |
Name | Parameter | Data Type | Required | Description |
---|---|---|---|---|
Id | form | string | No | |
Name | form | string | No | |
Description | form | string | No |
Name | Parameter | Data Type | Required | Description |
---|---|---|---|---|
MandateId | form | string | No | |
MandateType | form | int | No | |
SequenceType | form | int | No | |
SigningDate | form | DateTime | No | |
EndDate | form | DateTime | No | |
LatestDirectDebit | form | DateTime | 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.
GET /eaccounting/customers HTTP/1.1 Host: api.bokamera.se Accept: text/jsv
HTTP/1.1 200 OK Content-Type: text/jsv Content-Length: length { Id: String, CustomerNumber: String, ContactPersonEmail: String, ContactPersonMobile: String, ContactPersonName: String, ContactPersonPhone: String, CurrencyCode: String, GLN: String, EmailAddress: String, EmailAddressOrder: String, EmailAddressQuote: String, DeliveryCustomerName: String, DeliveryAddress1: String, DeliveryAddress2: String, DeliveryCity: String, DeliveryCountryCode: String, DeliveryPostalCode: String, DeliveryMethodId: String, DeliveryTermId: String, PayToAccountId: String, Name: String, Note: String, ReverseChargeOnConstructionServices: False, WebshopCustomerNumber: 0, MobilePhone: String, Telephone: String, TermsOfPaymentId: String, EAccountingTermsOfPayment: { Id: String, Name: String, NameEnglish: String, NumberOfDays: 0, TermsOfPaymentTypeId: 0, TermsOfPaymentTypeText: String, AvailableForSales: False, AvailableForPurchase: False }, VatNumber: String, WwwAddress: String, LastInvoiceDate: String, IsPrivatePerson: False, IsNorthernIreland: False, DiscountPercentage: 0, ChangedUtc: "0001-01-01T00:00:00", IsActive: False, ForceBookkeepVat: False, EdiGlnNumber: String, SalesDocumentLanguage: String, ElectronicAddress: String, ElectronicReference: String, EdiServiceDelivererId: String, AutoInvoiceActivationEmailSentDate: "0001-01-01T00:00:00", AutoInvoiceRegistrationRequestSentDate: "0001-01-01T00:00:00", EmailAddresses: [ String ], CustomerLabels: [ { Id: String, Name: String, Description: String } ], MessageThreads: [ String ], Notes: [ String ], IsFutureInvoiceDateAllowed: False, DeliveryBasedVat: False, SalesPriceListId: String, Iban: String, DirectDebitCustomerSettings: { MandateId: String, MandateType: 0, SequenceType: 0 }, DiscountAgreementId: String, UnpaidInvoicesAmount: 0, CorporateIdentityNumber: String, InvoiceAddress1: String, InvoiceAddress2: String, InvoiceCity: String, InvoicePostalCode: String, InvoiceCountryCode: String }