HTTP + JSV
The following are sample HTTP requests and responses.
The placeholders shown need to be replaced with actual values.
POST /jsv/reply/BefattningDto HTTP/1.1
Host: scanning.modernekonomi.se
Content-Type: text/jsv
Content-Length: length
{
Id: 0,
User:
{
Id: 0,
UserName: String,
FullName: String,
Email: String
},
Permissions:
[
0
],
FromDate: 0001-01-01,
ToDate: 0001-01-01,
RestrictedSearchSettings:
{
SupplierList:
[
String
],
AccountList:
[
String
],
ProjectList:
[
String
],
CostCenterList:
[
String
],
Object3List:
[
String
],
OnlyFinallyAttested: False,
AccessLevel: Normal
}
}
HTTP/1.1 200 OK
Content-Type: text/jsv
Content-Length: length
{
Id: 0,
User:
{
Id: 0,
UserName: String,
FullName: String,
Email: String
},
Permissions:
[
0
],
FromDate: 0001-01-01,
ToDate: 0001-01-01,
RestrictedSearchSettings:
{
SupplierList:
[
String
],
AccountList:
[
String
],
ProjectList:
[
String
],
CostCenterList:
[
String
],
Object3List:
[
String
],
OnlyFinallyAttested: False,
AccessLevel: Normal
}
}