GKS3 Docs
  • Välkommen till GKS3 Docs
  • Vanliga frågor och svar
  • Changelogs
    • Changelog GKS3 Kalkyl
    • Changelog GKS3 Plan
    • Changelog GKS3 BGC
    • Changelog GKS3 Distribution
    • Changelog GKS3 EHF
    • Changelog GKS3 CRM
    • Changelog GKS3 PlaceSimpleOrder API
    • Changelog GKS3 Fakturering
  • GKS Support
    • Fjärrhjälp till din dator
    • Fjärrhjälp till er serverdator
    • Skicka filer till Simutek
    • Beställa rapporter
  • Simutek
  • Kalkyl
    • Kom igång med LegoOnline
    • Kalkylera med Inkjet
    • Prislistor
      • Foliering
      • Prägling
    • Standardrapporter
  • Plan & Distribution
    • Konfiguration i GKS Plan
      • Koppla debiterbart kostnadsställe för återrapportering via GKS Plan
      • Skapa återrapporteringsfavoriter i GKS Web
      • Koppla en ny tryckpress till GKS Plan
      • Konfigurering av kalkylmoment i GKS Plan
      • Koppling av prismoment falsning i GKS Plan
    • Import av leveransadresser
  • Ekonomi
    • Integrationer
      • Fortnox
      • Microsoft Dynamics 365 Business Central
      • PowerOffice Go
      • Tripletex
      • Visma eEkonomi
    • Export av ekonomisk data
    • Bankgirot
      • Skicka e-faktura från GKS
      • Ta emot kundbetalningar och pricka av automatiskt
    • Skicka norsk e-faktura från GKS
    • Att tänka på vid bokslut
  • Admin
    • Skicka e-post från GKS3
    • Skicka mailutskick från GKS3
    • Lägg upp en ny global skrivare
    • Styra utskrifter
    • Import av pappersprisfil
    • Redigera blanketter
  • IT
    • Systemkrav
    • Installera GKS3
      • Installation GKS3 Kalkyl
      • Installation GKS3 Plan
      • Installation GKS3 Lager
      • Installation GKS3 Distribution
      • Installation GKS3 BGC
      • Installation GKS3 CRM
      • Installation GKS3 EHF
      • Installation GKS3 Outlook Addin
      • Installation GKS3 Fakturering
      • Installation API PlaceSimpleOrder
      • Installation Legoserver
    • Uppgradera GKS3
      • Uppgradera GKS3 Kalkyl
      • Uppgradera GKS3 Plan
      • Uppgradera GKS3 Distribution
      • Uppgradera GKS3 BGC
      • Uppgradera GKS3 EHF
      • Uppgradera GKS3 CRM
      • Uppgradera API PlaceSimpleOrder
      • Uppgradera Legoserver
    • Flytta GKS3
      • Flytta GKS3 till en ny server
      • Flytta GKS3 till molnet
    • Underhålla GKS3
    • Felsöka GKS3
      • GKS3 BGC
    • Köra från macOS
    • API
      • GKS Public API
      • PlaceSimpleOrder API
      • CompanyService API
Powered by GitBook
On this page
  • URL
  • Teknisk dokumentation (WSDL)
  • Metoder
  • Data

Was this helpful?

  1. IT
  2. API

CompanyService API

Ett API för att hämta, skapa, uppdatera och ta bort företag och kontaktpersoner i GKS3 företagsregister.

PreviousPlaceSimpleOrder API

Last updated 2 years ago

Was this helpful?

URL

Efter installation av Company Service API nås webbtjänsten från sidan:

Teknisk dokumentation (WSDL)

Metoder

Company[] GetCompanies();
Company[] GetCompaniesBy(CompanyType companyType);
Company GetCompany(int Id);
int CreateCompany(Company company);
void UpdateCompany(Company company);
void DeleteCompany(Company company);

Contact[] GetContacts();
int CreateContact(Contact contact);
void UpdateContact(Contact contact);
void DeleteContact (Contact contact);

Data

public class Company
{
        public int Id { get; set; }
        public string Number { get; set; }
        public string Name { get; set; }
        public string Department { get; set; }
        public string OrgNumber { get; set; }
        public string CountryCode { get; set; }
        public string Address { get; set; }
        public string ZipCode { get; set; }
        public string City { get; set; }
        public string VisitingAddress { get; set; }
        public string Homepage { get; set; }
        public string Phone { get; set; }
        public string Fax { get; set; }
        public bool IsCustomer { get; set; }
        public bool IsProspect { get; set; }
        public bool IsSupplier { get; set; }
        public string OldNumber { get; set; }
        public int CustomerLimit { get; set; }
        public int CustomerBalance { get; set; }
        public int VAT { get; set; }
        public bool Export { get; set; }
        public bool EU { get; set; }
        public bool CreditStop { get; set; }
}

public enum CompanyType
{
        Prospect = 1,
        Customer = 2,
        Supplier = 3
}
public class Contact
{
        public int Id { get; set; }
        public int CompanyId { get; set; }
        public string Name { get; set; }
        public string Phone { get; set; }
        public string PhoneMobile { get; set; }
        public string Email { get; set; }
        public string Comment { get; set; }
}
http://localhost/CompanyService.svclocalhost
15KB
CompanyService.wsdl