POST api/ProcessMobileDeviceDetails

Request Information

URI Parameters

None.

Body Parameters

Collection of MobileDeviceDetails
NameDescriptionTypeAdditional information
Pin

string

None.

DeviceID

string

None.

DeviceType

string

None.

CompanyType

string

None.

OrgID

string

None.

Request Formats

application/json, text/json

Sample:
[
  {
    "Pin": "sample string 1",
    "DeviceID": "sample string 2",
    "DeviceType": "sample string 3",
    "CompanyType": "sample string 4",
    "OrgID": "sample string 5"
  },
  {
    "Pin": "sample string 1",
    "DeviceID": "sample string 2",
    "DeviceType": "sample string 3",
    "CompanyType": "sample string 4",
    "OrgID": "sample string 5"
  }
]

application/xml, text/xml

Sample:
<ArrayOfMobileDeviceDetails xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/ClrCommonMobileApi.Models">
  <MobileDeviceDetails>
    <CompanyType>sample string 4</CompanyType>
    <DeviceID>sample string 2</DeviceID>
    <DeviceType>sample string 3</DeviceType>
    <OrgID>sample string 5</OrgID>
    <Pin>sample string 1</Pin>
  </MobileDeviceDetails>
  <MobileDeviceDetails>
    <CompanyType>sample string 4</CompanyType>
    <DeviceID>sample string 2</DeviceID>
    <DeviceType>sample string 3</DeviceType>
    <OrgID>sample string 5</OrgID>
    <Pin>sample string 1</Pin>
  </MobileDeviceDetails>
</ArrayOfMobileDeviceDetails>

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 'List`1'.

Response Information

Resource Description

NotificationPreferenceResult
NameDescriptionTypeAdditional information
StatusCode

string

None.

IsSuccessStatusCode

boolean

None.

Response

string

None.

NotificationPreference

DeviceNotificationPreference

None.

Response Formats

application/json, text/json

Sample:
{
  "StatusCode": "sample string 1",
  "IsSuccessStatusCode": true,
  "Response": "sample string 3",
  "NotificationPreference": {
    "DeviceID": "sample string 1",
    "Pin": "sample string 2",
    "IsPushNotificationOn": true,
    "IsEmailNotificationOn": true,
    "IsCalenderlNotificationOn": true,
    "IsTextNotificationOn": true,
    "CompanyType": "sample string 7",
    "OrgID": "sample string 8"
  }
}

application/xml, text/xml

Sample:
<NotificationPreferenceResult xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/ClrCommonMobileApi.Models">
  <IsSuccessStatusCode>true</IsSuccessStatusCode>
  <NotificationPreference>
    <CompanyType>sample string 7</CompanyType>
    <DeviceID>sample string 1</DeviceID>
    <IsCalenderlNotificationOn>true</IsCalenderlNotificationOn>
    <IsEmailNotificationOn>true</IsEmailNotificationOn>
    <IsPushNotificationOn>true</IsPushNotificationOn>
    <IsTextNotificationOn>true</IsTextNotificationOn>
    <OrgID>sample string 8</OrgID>
    <Pin>sample string 2</Pin>
  </NotificationPreference>
  <Response>sample string 3</Response>
  <StatusCode>sample string 1</StatusCode>
</NotificationPreferenceResult>