POST api/Session/AddSession

No documentation available.

Request Information

Parameters

NameDescriptionAdditional information
objSession
No documentation available.

Define this parameter in the request body.

Request body formats

application/json, text/json

Sample:
{
  "SID": 1,
  "CCCD": "sample string 2",
  "SUID": 3,
  "SSessionID": "sample string 4",
  "SStatus": "sample string 5",
  "fromdate": "sample string 6",
  "todate": "sample string 7",
  "LoginSystem": "sample string 8"
}

text/html

Sample:
{"SID":1,"CCCD":"sample string 2","SUID":3,"SSessionID":"sample string 4","SStatus":"sample string 5","fromdate":"sample string 6","todate":"sample string 7","LoginSystem":"sample string 8"}

application/xml, text/xml

Sample:
<Session xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/PowerAPI.Models">
  <CCCD>sample string 2</CCCD>
  <LoginSystem>sample string 8</LoginSystem>
  <SID>1</SID>
  <SSessionID>sample string 4</SSessionID>
  <SStatus>sample string 5</SStatus>
  <SUID>3</SUID>
  <fromdate>sample string 6</fromdate>
  <todate>sample string 7</todate>
</Session>

application/x-www-form-urlencoded

Sample:

Response Information

No documentation available.

Response body formats

application/json, text/json

Sample:
{
  "Status": true,
  "ErrorMessage": "sample string 2"
}

text/html

Sample:
{"Status":true,"ErrorMessage":"sample string 2"}

application/xml, text/xml

Sample:
<StatusResponse xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/PowerAPI.Models">
  <ErrorMessage>sample string 2</ErrorMessage>
  <Status>true</Status>
</StatusResponse>