GET api/Rep/Autoship/{repDID}/MiscField

Returns the all available autoship profile misc field values for a given Representative

Request Information

URI Parameters

NameDescriptionTypeAdditional information
repDID

Primary identifier for the Rep

string

Required

Body Parameters

None.

Response Information

Resource Description

Collection of AutoshipScheduleMiscViewModel
NameDescriptionTypeAdditional information
AutoshipScheduleID

integer

None.

MiscFields

Dictionary of string [key] and Object [value]

None.

Response Formats

application/xml, text/xml

Sample:
<ListOfAutoshipScheduleMiscViewModel>
  <AutoshipScheduleMiscViewModel>
    <AutoshipScheduleID>1</AutoshipScheduleID>
    <MiscFields>
      <KeyValuePairOfStringObject>
        <Key>sample string 1</Key>
        <Value />
      </KeyValuePairOfStringObject>
      <KeyValuePairOfStringObject>
        <Key>sample string 3</Key>
        <Value />
      </KeyValuePairOfStringObject>
    </MiscFields>
  </AutoshipScheduleMiscViewModel>
  <AutoshipScheduleMiscViewModel>
    <AutoshipScheduleID>1</AutoshipScheduleID>
    <MiscFields>
      <KeyValuePairOfStringObject>
        <Key>sample string 1</Key>
        <Value />
      </KeyValuePairOfStringObject>
      <KeyValuePairOfStringObject>
        <Key>sample string 3</Key>
        <Value />
      </KeyValuePairOfStringObject>
    </MiscFields>
  </AutoshipScheduleMiscViewModel>
</ListOfAutoshipScheduleMiscViewModel>

application/json, text/json

Sample:
[
  {
    "AutoshipScheduleID": 1,
    "MiscFields": {
      "sample string 1": {},
      "sample string 3": {}
    }
  },
  {
    "AutoshipScheduleID": 1,
    "MiscFields": {
      "sample string 1": {},
      "sample string 3": {}
    }
  }
]