Requires any of the roles: | bookingsupplier-administrator-write, superadmin |
PUT | /eaccounting/customers | Update E-Accounting Customer |
---|
Name | Parameter | Data Type | Required | Description |
---|---|---|---|---|
Id | body | string | Yes | Customer Id in e-accounting. |
InvoiceCity | body | string | No | |
InvoicePostalCode | body | string | No | Max length: 10 characters |
Name | body | string | No | Max length: 50 characters |
TermsOfPaymentId | body | string | No | |
IsPrivatePerson | body | bool | No | |
IsActive | body | bool | No | |
Telephone | body | string | No | |
EmailAddress | body | string | No | |
MobilePhone | body | string | No | |
CompanyId | body | Guid? | No | The company id, if empty will use the company id for the user you are logged in with. |
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 .json suffix or ?format=json
To embed the response in a jsonp callback, append ?callback=myCallback
The following are sample HTTP requests and responses. The placeholders shown need to be replaced with actual values.
PUT /eaccounting/customers HTTP/1.1
Host: api.bokamera.se
Accept: application/json
Content-Type: application/json
Content-Length: length
{"Id":"String","InvoiceCity":"String","InvoicePostalCode":"String","Name":"String","TermsOfPaymentId":"String","IsPrivatePerson":false,"IsActive":false,"Telephone":"String","EmailAddress":"String","MobilePhone":"String","CompanyId":"00000000-0000-0000-0000-000000000000"}
HTTP/1.1 200 OK Content-Type: application/json 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"}