POST api/DeviceDetail?ptId={ptId}

Request Information

URI Parameters

NameDescriptionTypeAdditional information
ptId

string

Required

Body Parameters

RequestBody
NameDescriptionTypeAdditional information
ShippingAddress

Demographics

None.

BusinessAddress

boolean

None.

CuffSize

CuffSizes

None.

PhoneType

MobilePlatform

None.

HasCgm

boolean

None.

NoCuffSize

boolean

None.

Obar

boolean

None.

Request Formats

application/json, text/json

Sample:
{
  "ShippingAddress": {
    "FirstName": "sample string 1",
    "LastName": "sample string 2",
    "BirthDate": "2024-10-15T22:23:52.76982-05:00",
    "Gender": "sample string 3",
    "StreetAddressOne": "sample string 4",
    "StreetAddressTwo": "sample string 5",
    "City": "sample string 6",
    "State": "sample string 7",
    "ZipCode": "sample string 8",
    "MobileNumber": "sample string 9",
    "SSN": "sample string 10",
    "MemberId": "sample string 11",
    "MemberIdType": "sample string 12",
    "EmailAddress": "sample string 13",
    "SSNLast4": "sample string 14",
    "Address": "sample string 15",
    "PtId": "sample string 16",
    "Id": 17,
    "PhoneNumber": "sample string 18",
    "SponsorId": "sample string 19"
  },
  "BusinessAddress": true,
  "CuffSize": 0,
  "PhoneType": 0,
  "HasCgm": true,
  "NoCuffSize": true,
  "Obar": true
}

application/xml, text/xml

Sample:
<DeviceDetailController.RequestBody xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/WebAPI.Controllers">
  <BusinessAddress>true</BusinessAddress>
  <CuffSize>Standard</CuffSize>
  <HasCgm>true</HasCgm>
  <NoCuffSize>true</NoCuffSize>
  <Obar>true</Obar>
  <PhoneType>Apple</PhoneType>
  <ShippingAddress xmlns:d2p1="http://schemas.datacontract.org/2004/07/Data.Types">
    <d2p1:Address>sample string 15</d2p1:Address>
    <d2p1:BirthDate>2024-10-15T22:23:52.76982-05:00</d2p1:BirthDate>
    <d2p1:City>sample string 6</d2p1:City>
    <d2p1:EmailAddress>sample string 13</d2p1:EmailAddress>
    <d2p1:FirstName>sample string 1</d2p1:FirstName>
    <d2p1:Gender>sample string 3</d2p1:Gender>
    <d2p1:Id>17</d2p1:Id>
    <d2p1:LastName>sample string 2</d2p1:LastName>
    <d2p1:MemberId>sample string 11</d2p1:MemberId>
    <d2p1:MemberIdType>sample string 12</d2p1:MemberIdType>
    <d2p1:MobileNumber>sample string 9</d2p1:MobileNumber>
    <d2p1:PhoneNumber>sample string 18</d2p1:PhoneNumber>
    <d2p1:PtId>sample string 16</d2p1:PtId>
    <d2p1:SSN>sample string 10</d2p1:SSN>
    <d2p1:SSNLast4>sample string 14</d2p1:SSNLast4>
    <d2p1:SponsorId>sample string 19</d2p1:SponsorId>
    <d2p1:State>sample string 7</d2p1:State>
    <d2p1:StreetAddressOne>sample string 4</d2p1:StreetAddressOne>
    <d2p1:StreetAddressTwo>sample string 5</d2p1:StreetAddressTwo>
    <d2p1:ZipCode>sample string 8</d2p1:ZipCode>
  </ShippingAddress>
</DeviceDetailController.RequestBody>

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.