POST api/saveDailyActivity

Request Information

URI Parameters

None.

Body Parameters

BOMyInfoDailyActivityAPI
NameDescriptionTypeAdditional information
GeneralRemarks

string

None.

selectedDate

string

None.

StaffId

integer

None.

UserId

string

None.

Year

integer

None.

Month

integer

None.

Day

integer

None.

BOCustomerVisitedList

Collection of BOMyInfoCustomerVisitedDetails

None.

BOPSASOfficeVisitedList

Collection of BOMyInfoPSASOfficeVisitedDetails

None.

Request Formats

application/json, text/json

Sample:
{
  "GeneralRemarks": "sample string 1",
  "selectedDate": "sample string 2",
  "StaffId": 3,
  "UserId": "sample string 4",
  "Year": 5,
  "Month": 6,
  "Day": 7,
  "BOCustomerVisitedList": [
    {
      "CustomerRowId": 1,
      "AttendanceDate": "sample string 2",
      "CustomerVisitedId": 3,
      "IsDeleted": true,
      "CustomerId": 5,
      "Remarks": "sample string 6",
      "CustomerName": "sample string 7"
    },
    {
      "CustomerRowId": 1,
      "AttendanceDate": "sample string 2",
      "CustomerVisitedId": 3,
      "IsDeleted": true,
      "CustomerId": 5,
      "Remarks": "sample string 6",
      "CustomerName": "sample string 7"
    }
  ],
  "BOPSASOfficeVisitedList": [
    {
      "OfficeRowId": 1,
      "AttendanceDate": "sample string 2",
      "PSASOfficeVisitedId": 3,
      "IsDeleted": true,
      "PSASOfficeId": 5,
      "Remarks": "sample string 6",
      "PSASOfficeName": "sample string 7"
    },
    {
      "OfficeRowId": 1,
      "AttendanceDate": "sample string 2",
      "PSASOfficeVisitedId": 3,
      "IsDeleted": true,
      "PSASOfficeId": 5,
      "Remarks": "sample string 6",
      "PSASOfficeName": "sample string 7"
    }
  ]
}

application/xml, text/xml

Sample:
<BOMyInfoDailyActivityAPI xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/PSASAttendanceMobileAPI.Models.BOL">
  <BOCustomerVisitedList>
    <BOMyInfoCustomerVisitedDetails>
      <AttendanceDate>sample string 2</AttendanceDate>
      <CustomerId>5</CustomerId>
      <CustomerName>sample string 7</CustomerName>
      <CustomerRowId>1</CustomerRowId>
      <CustomerVisitedId>3</CustomerVisitedId>
      <IsDeleted>true</IsDeleted>
      <Remarks>sample string 6</Remarks>
    </BOMyInfoCustomerVisitedDetails>
    <BOMyInfoCustomerVisitedDetails>
      <AttendanceDate>sample string 2</AttendanceDate>
      <CustomerId>5</CustomerId>
      <CustomerName>sample string 7</CustomerName>
      <CustomerRowId>1</CustomerRowId>
      <CustomerVisitedId>3</CustomerVisitedId>
      <IsDeleted>true</IsDeleted>
      <Remarks>sample string 6</Remarks>
    </BOMyInfoCustomerVisitedDetails>
  </BOCustomerVisitedList>
  <BOPSASOfficeVisitedList>
    <BOMyInfoPSASOfficeVisitedDetails>
      <AttendanceDate>sample string 2</AttendanceDate>
      <IsDeleted>true</IsDeleted>
      <OfficeRowId>1</OfficeRowId>
      <PSASOfficeId>5</PSASOfficeId>
      <PSASOfficeName>sample string 7</PSASOfficeName>
      <PSASOfficeVisitedId>3</PSASOfficeVisitedId>
      <Remarks>sample string 6</Remarks>
    </BOMyInfoPSASOfficeVisitedDetails>
    <BOMyInfoPSASOfficeVisitedDetails>
      <AttendanceDate>sample string 2</AttendanceDate>
      <IsDeleted>true</IsDeleted>
      <OfficeRowId>1</OfficeRowId>
      <PSASOfficeId>5</PSASOfficeId>
      <PSASOfficeName>sample string 7</PSASOfficeName>
      <PSASOfficeVisitedId>3</PSASOfficeVisitedId>
      <Remarks>sample string 6</Remarks>
    </BOMyInfoPSASOfficeVisitedDetails>
  </BOPSASOfficeVisitedList>
  <Day>7</Day>
  <GeneralRemarks>sample string 1</GeneralRemarks>
  <Month>6</Month>
  <StaffId>3</StaffId>
  <UserId>sample string 4</UserId>
  <Year>5</Year>
  <selectedDate>sample string 2</selectedDate>
</BOMyInfoDailyActivityAPI>

application/x-www-form-urlencoded

Sample:

Sample not available.

Response Information

Resource Description

IHttpActionResult

None.

Response Formats

application/json, text/json, application/xml, text/xml

Sample:

Sample not available.