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: dinumero.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
}
}