POST api/ExpanseLogbook/Add

Request Information

URI Parameters

None.

Body Parameters

LogbookAdd
NameDescriptionTypeAdditional information
LogbookId

integer

None.

ManagerId

string

None.

LogbookDate

string

None.

LogbookImage

string

None.

LogbookRemarks

string

None.

Request Formats

application/json, text/json

Sample:
{
  "LogbookId": 1,
  "ManagerId": "sample string 2",
  "LogbookDate": "sample string 3",
  "LogbookImage": "sample string 4",
  "LogbookRemarks": "sample string 5"
}

application/xml, text/xml

Sample:
<LogbookAdd xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/Railtech_HRMS.Model.EmployeeModal">
  <LogbookDate>sample string 3</LogbookDate>
  <LogbookId>1</LogbookId>
  <LogbookImage>sample string 4</LogbookImage>
  <LogbookRemarks>sample string 5</LogbookRemarks>
  <ManagerId>sample string 2</ManagerId>
</LogbookAdd>

application/x-www-form-urlencoded

Sample:

Failed to generate the sample for media type 'application/x-www-form-urlencoded'. Cannot use formatter 'JQueryMvcFormUrlEncodedFormatter' to write type 'LogbookAdd'.

Response Information

Resource Description

LogbookResponse
NameDescriptionTypeAdditional information
FRV

Collection of LogbookView

None.

StatusCode

integer

None.

status

string

None.

statusText

string

None.

Response Formats

application/json, text/json

Sample:
{
  "FRV": [
    {
      "LogbookId": "sample string 1",
      "ManagerId": "sample string 2",
      "ManagerName": "sample string 3",
      "LogbookDate": "sample string 4",
      "LogbookImage": "sample string 5",
      "LogbookRemarks": "sample string 6"
    },
    {
      "LogbookId": "sample string 1",
      "ManagerId": "sample string 2",
      "ManagerName": "sample string 3",
      "LogbookDate": "sample string 4",
      "LogbookImage": "sample string 5",
      "LogbookRemarks": "sample string 6"
    }
  ],
  "StatusCode": 1,
  "status": "sample string 2",
  "statusText": "sample string 3"
}

application/xml, text/xml

Sample:
<LogbookResponse xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/Railtech_HRMS.Model.EmployeeModal">
  <FRV>
    <LogbookView>
      <LogbookDate>sample string 4</LogbookDate>
      <LogbookId>sample string 1</LogbookId>
      <LogbookImage>sample string 5</LogbookImage>
      <LogbookRemarks>sample string 6</LogbookRemarks>
      <ManagerId>sample string 2</ManagerId>
      <ManagerName>sample string 3</ManagerName>
    </LogbookView>
    <LogbookView>
      <LogbookDate>sample string 4</LogbookDate>
      <LogbookId>sample string 1</LogbookId>
      <LogbookImage>sample string 5</LogbookImage>
      <LogbookRemarks>sample string 6</LogbookRemarks>
      <ManagerId>sample string 2</ManagerId>
      <ManagerName>sample string 3</ManagerName>
    </LogbookView>
  </FRV>
  <StatusCode>1</StatusCode>
  <status>sample string 2</status>
  <statusText>sample string 3</statusText>
</LogbookResponse>