POST api/AppDownLoads/add

Request Information

URI Parameters

None.

Body Parameters

AppDownLoadsViewModel
NameDescriptionTypeAdditional information
Id

integer

None.

DeviceId

string

None.

Pincode

integer

None.

Lattitude

decimal number

None.

Longitude

decimal number

None.

InstallationSessionId

string

None.

AppInstallationDateTime

date

None.

UnInstalledDateTime

date

None.

UnInstalledLattitude

decimal number

None.

UnInstalledLongitude

decimal number

None.

UnInstalledPincode

integer

None.

IsActive

boolean

None.

CreatedDateTime

date

None.

CreatedById

integer

None.

UpdatedDateTime

date

None.

UpdatedById

integer

None.

ErrorMessage

Collection of ErrorModel

None.

Request Formats

application/json, text/json

Sample:
{
  "Id": 1,
  "DeviceId": "sample string 2",
  "Pincode": 3,
  "Lattitude": 4.0,
  "Longitude": 5.0,
  "InstallationSessionId": "sample string 6",
  "AppInstallationDateTime": "2020-02-21T14:59:11.2211292-07:00",
  "UnInstalledDateTime": "2020-02-21T14:59:11.2211292-07:00",
  "UnInstalledLattitude": 9.0,
  "UnInstalledLongitude": 10.0,
  "UnInstalledPincode": 11,
  "IsActive": true,
  "CreatedDateTime": "2020-02-21T14:59:11.2211292-07:00",
  "CreatedById": 14,
  "UpdatedDateTime": "2020-02-21T14:59:11.2211292-07:00",
  "UpdatedById": 16,
  "ErrorMessage": [
    {
      "ErrorCode": "sample string 1",
      "Status": 0,
      "Message": "sample string 2"
    },
    {
      "ErrorCode": "sample string 1",
      "Status": 0,
      "Message": "sample string 2"
    }
  ]
}

application/xml, text/xml

Sample:
<AppDownLoadsViewModel xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/ICAC.SeepSoil.ViewModels">
  <CreatedById>14</CreatedById>
  <CreatedDateTime>2020-02-21T14:59:11.2211292-07:00</CreatedDateTime>
  <ErrorMessage>
    <ErrorModel>
      <ErrorCode>sample string 1</ErrorCode>
      <Message>sample string 2</Message>
      <Status>FAILED</Status>
    </ErrorModel>
    <ErrorModel>
      <ErrorCode>sample string 1</ErrorCode>
      <Message>sample string 2</Message>
      <Status>FAILED</Status>
    </ErrorModel>
  </ErrorMessage>
  <UpdatedById>16</UpdatedById>
  <UpdatedDateTime>2020-02-21T14:59:11.2211292-07:00</UpdatedDateTime>
  <AppInstallationDateTime>2020-02-21T14:59:11.2211292-07:00</AppInstallationDateTime>
  <DeviceId>sample string 2</DeviceId>
  <Id>1</Id>
  <InstallationSessionId>sample string 6</InstallationSessionId>
  <IsActive>true</IsActive>
  <Lattitude>4</Lattitude>
  <Longitude>5</Longitude>
  <Pincode>3</Pincode>
  <UnInstalledDateTime>2020-02-21T14:59:11.2211292-07:00</UnInstalledDateTime>
  <UnInstalledLattitude>9</UnInstalledLattitude>
  <UnInstalledLongitude>10</UnInstalledLongitude>
  <UnInstalledPincode>11</UnInstalledPincode>
</AppDownLoadsViewModel>

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.