GET api/Badges?contactId={contactId}

Request Information

URI Parameters

NameDescriptionTypeAdditional information
contactId

System.Guid

Required

Body Parameters

None.

Response Information

Resource Description

System.Collections.Generic.ICollection`1[Altai.Web.Services.Models.Badge]
NameDescriptionTypeAdditional information
Id

System.Guid

None.

Status

Altai.Web.Services.Models.OptionSetValue

None.

Program

Altai.Web.Services.Models.Program

None.

Name

System.String

None.

BadgeUrl

System.String

None.

Response Formats

application/json, text/json

Sample:
[
  {
    "Id": "fef4f263-fa86-42eb-b458-374220d867f8",
    "Status": {
      "Id": "sample string 1",
      "Name": "sample string 2"
    },
    "Program": {
      "Id": "sample string 1",
      "Name": "sample string 2",
      "ShortName": "sample string 3",
      "Type": "sample string 4",
      "ProgramGroup": "sample string 5",
      "BillingTermLength": 6,
      "ActivePriceListId": "sample string 7"
    },
    "Name": "sample string 2",
    "BadgeUrl": "sample string 3"
  },
  {
    "Id": "fef4f263-fa86-42eb-b458-374220d867f8",
    "Status": {
      "Id": "sample string 1",
      "Name": "sample string 2"
    },
    "Program": {
      "Id": "sample string 1",
      "Name": "sample string 2",
      "ShortName": "sample string 3",
      "Type": "sample string 4",
      "ProgramGroup": "sample string 5",
      "BillingTermLength": 6,
      "ActivePriceListId": "sample string 7"
    },
    "Name": "sample string 2",
    "BadgeUrl": "sample string 3"
  }
]

application/xml, text/xml

Sample:
<ArrayOfBadge xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/Altai.Web.Services.Models">
  <Badge>
    <BadgeUrl>sample string 3</BadgeUrl>
    <Id>fef4f263-fa86-42eb-b458-374220d867f8</Id>
    <Name>sample string 2</Name>
    <Program>
      <ActivePriceListId>sample string 7</ActivePriceListId>
      <BillingTermLength>6</BillingTermLength>
      <Id>sample string 1</Id>
      <Name>sample string 2</Name>
      <ProgramGroup>sample string 5</ProgramGroup>
      <ShortName>sample string 3</ShortName>
      <Type>sample string 4</Type>
    </Program>
    <Status>
      <Id>sample string 1</Id>
      <Name>sample string 2</Name>
    </Status>
  </Badge>
  <Badge>
    <BadgeUrl>sample string 3</BadgeUrl>
    <Id>fef4f263-fa86-42eb-b458-374220d867f8</Id>
    <Name>sample string 2</Name>
    <Program>
      <ActivePriceListId>sample string 7</ActivePriceListId>
      <BillingTermLength>6</BillingTermLength>
      <Id>sample string 1</Id>
      <Name>sample string 2</Name>
      <ProgramGroup>sample string 5</ProgramGroup>
      <ShortName>sample string 3</ShortName>
      <Type>sample string 4</Type>
    </Program>
    <Status>
      <Id>sample string 1</Id>
      <Name>sample string 2</Name>
    </Status>
  </Badge>
</ArrayOfBadge>