The following are sample HTTP requests and responses.
The placeholders shown need to be replaced with actual values.
POST /Crm/StaffRoll/Accs/Import/Check HTTP/1.1
Host: apex.nikoratrade.ge
Accept: text/jsv
Content-Type: text/jsv
Content-Length: length
{
staffRollAccs:
[
{
RollType: 0,
PersonSN: String,
PersonId: 0,
PName: String,
ExpenceAcc: String,
PersonAcc: String,
ExpenceAccName: String,
PersonAccName: String,
RollTypeName: String,
Error: False,
ErrorText: String
}
]
}
HTTP/1.1 200 OK
Content-Type: text/jsv
Content-Length: length
{
ResponseStatus:
{
ErrorCode: String,
Message: String,
StackTrace: String,
Errors:
[
{
ErrorCode: String,
FieldName: String,
Message: String,
Meta:
{
String: String
}
}
],
Meta:
{
String: String
}
},
Result:
[
{
RollType: 0,
PersonSN: String,
PersonId: 0,
PName: String,
ExpenceAcc: String,
PersonAcc: String,
ExpenceAccName: String,
PersonAccName: String,
RollTypeName: String,
Error: False,
ErrorText: String
}
]
}