GET api/Contacts/InfoTypes

Get Contact Info Types

Request Information

URI Parameters

None.

Body Parameters

None.

Response Information

Resource Description

Collection of ContactInfoTypeModel
NameDescriptionTypeAdditional information
ContactInfoTypeId

Unique ID

globally unique identifier

None.

Name

Display value

string

None.

ForPhone

Can be used for phone numbers

boolean

None.

ForEmail

Can be used for email addresses

boolean

None.

ForAddress

Can be used for addresses

boolean

None.

Sequence

Display Order

integer

None.

Response Formats

application/json, text/json

Sample:
[
  {
    "ContactInfoTypeId": "94cf0e7c-2892-4132-81f8-89d45f92f3b8",
    "Name": "sample string 2",
    "ForPhone": true,
    "ForEmail": true,
    "ForAddress": true,
    "Sequence": 6
  },
  {
    "ContactInfoTypeId": "94cf0e7c-2892-4132-81f8-89d45f92f3b8",
    "Name": "sample string 2",
    "ForPhone": true,
    "ForEmail": true,
    "ForAddress": true,
    "Sequence": 6
  }
]

application/xml, text/xml

Sample:
<ArrayOfContactInfoTypeModel xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/CaringVillage.Shared.Implementation.Models">
  <ContactInfoTypeModel>
    <ContactInfoTypeId>94cf0e7c-2892-4132-81f8-89d45f92f3b8</ContactInfoTypeId>
    <ForAddress>true</ForAddress>
    <ForEmail>true</ForEmail>
    <ForPhone>true</ForPhone>
    <Name>sample string 2</Name>
    <Sequence>6</Sequence>
  </ContactInfoTypeModel>
  <ContactInfoTypeModel>
    <ContactInfoTypeId>94cf0e7c-2892-4132-81f8-89d45f92f3b8</ContactInfoTypeId>
    <ForAddress>true</ForAddress>
    <ForEmail>true</ForEmail>
    <ForPhone>true</ForPhone>
    <Name>sample string 2</Name>
    <Sequence>6</Sequence>
  </ContactInfoTypeModel>
</ArrayOfContactInfoTypeModel>