POST api/Account/CollateralData

collData Leave Sequence as is or blank.

Request Information

URI Parameters

None.

Body Parameters

The CreditCardInfoDto object

CollateralInfoPOSTAPI
NameDescriptionTypeAdditional information
account_Info

Account_Info

None.

collateral_Info

Collection of Collateral_Info

None.

Request Formats

application/json, text/json

Sample:
{
  "account_Info": {
    "AccountNumber": "sample string 1",
    "ClientID": "sample string 2"
  },
  "collateral_Info": [
    {
      "resortDetails": {
        "AssociationID": "sample string 1",
        "RegionCode": "sample string 2"
      },
      "unitData": [
        {
          "Sequence": "sample string 1",
          "Unit": "sample string 2",
          "Segment": "sample string 3",
          "Week": "sample string 4",
          "Interval": "sample string 5",
          "Points": "sample string 6"
        },
        {
          "Sequence": "sample string 1",
          "Unit": "sample string 2",
          "Segment": "sample string 3",
          "Week": "sample string 4",
          "Interval": "sample string 5",
          "Points": "sample string 6"
        }
      ]
    },
    {
      "resortDetails": {
        "AssociationID": "sample string 1",
        "RegionCode": "sample string 2"
      },
      "unitData": [
        {
          "Sequence": "sample string 1",
          "Unit": "sample string 2",
          "Segment": "sample string 3",
          "Week": "sample string 4",
          "Interval": "sample string 5",
          "Points": "sample string 6"
        },
        {
          "Sequence": "sample string 1",
          "Unit": "sample string 2",
          "Segment": "sample string 3",
          "Week": "sample string 4",
          "Interval": "sample string 5",
          "Points": "sample string 6"
        }
      ]
    }
  ]
}

application/xml, text/xml

Sample:
<CollateralInfoPOSTAPI xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/Equiant.Entities.Accounts">
  <account_Info>
    <AccountNumber>sample string 1</AccountNumber>
    <ClientID>sample string 2</ClientID>
  </account_Info>
  <collateral_Info>
    <CollateralInfoPOSTAPI.Collateral_Info>
      <resortDetails>
        <AssociationID>sample string 1</AssociationID>
        <RegionCode>sample string 2</RegionCode>
      </resortDetails>
      <unitData>
        <CollateralInfoPOSTAPI.UnitData>
          <Interval>sample string 5</Interval>
          <Points>sample string 6</Points>
          <Segment>sample string 3</Segment>
          <Sequence>sample string 1</Sequence>
          <Unit>sample string 2</Unit>
          <Week>sample string 4</Week>
        </CollateralInfoPOSTAPI.UnitData>
        <CollateralInfoPOSTAPI.UnitData>
          <Interval>sample string 5</Interval>
          <Points>sample string 6</Points>
          <Segment>sample string 3</Segment>
          <Sequence>sample string 1</Sequence>
          <Unit>sample string 2</Unit>
          <Week>sample string 4</Week>
        </CollateralInfoPOSTAPI.UnitData>
      </unitData>
    </CollateralInfoPOSTAPI.Collateral_Info>
    <CollateralInfoPOSTAPI.Collateral_Info>
      <resortDetails>
        <AssociationID>sample string 1</AssociationID>
        <RegionCode>sample string 2</RegionCode>
      </resortDetails>
      <unitData>
        <CollateralInfoPOSTAPI.UnitData>
          <Interval>sample string 5</Interval>
          <Points>sample string 6</Points>
          <Segment>sample string 3</Segment>
          <Sequence>sample string 1</Sequence>
          <Unit>sample string 2</Unit>
          <Week>sample string 4</Week>
        </CollateralInfoPOSTAPI.UnitData>
        <CollateralInfoPOSTAPI.UnitData>
          <Interval>sample string 5</Interval>
          <Points>sample string 6</Points>
          <Segment>sample string 3</Segment>
          <Sequence>sample string 1</Sequence>
          <Unit>sample string 2</Unit>
          <Week>sample string 4</Week>
        </CollateralInfoPOSTAPI.UnitData>
      </unitData>
    </CollateralInfoPOSTAPI.Collateral_Info>
  </collateral_Info>
</CollateralInfoPOSTAPI>

application/x-www-form-urlencoded

Sample:

Sample not available.

Response Information

Resource Description

A boolean indicating success

IHttpActionResult

None.

Response Formats

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

Sample:

Sample not available.