Hello Web Services

<back to all web services

ClientLocal

The following routes are available for this service:
GET/api/client/{ClientId}

To override the Content-type in your clients HTTP Accept Header, append the .jsv suffix or ?format=jsv

HTTP + JSV

The following are sample HTTP requests and responses. The placeholders shown need to be replaced with actual values.

POST /jsv/reply/ClientLocal HTTP/1.1 
Host: scanning.modernekonomi.se 
Content-Type: text/jsv
Content-Length: length

{
	Gid: 00000000000000000000000000000000,
	ClientId: 0,
	Name: String,
	OrgNr: String,
	Status: 73,
	ModuleSupplierInvoices: False,
	ModuleReports: False,
	ModuleContracts: False,
	UserPermissions: 
	{
		0: 
		{
			User: 
			{
				Id: 0,
				UserName: String,
				FullName: String,
				UniqueId: 00000000000000000000000000000000
			}
		}
	},
	Accounts: 
	{
		LevSkuldsKonto: 0,
		MomsKonto: 0,
		KostnadsKonto: 0
	}
}
HTTP/1.1 200 OK
Content-Type: text/jsv
Content-Length: length

{
	Gid: 00000000000000000000000000000000,
	ClientId: 0,
	Name: String,
	OrgNr: String,
	Status: 73,
	ModuleSupplierInvoices: False,
	ModuleReports: False,
	ModuleContracts: False,
	UserPermissions: 
	{
		0: 
		{
			User: 
			{
				Id: 0,
				UserName: String,
				FullName: String,
				UniqueId: 00000000000000000000000000000000
			}
		}
	},
	Accounts: 
	{
		LevSkuldsKonto: 0,
		MomsKonto: 0,
		KostnadsKonto: 0
	}
}