GET api/Profile2/ByName?sName={sName}

Request Information

URI Parameters

NameDescriptionTypeAdditional information
sName

string

Required

Body Parameters

None.

Response Information

Resource Description

Profile2
NameDescriptionTypeAdditional information
Id

string

None.

Name

string

None.

ProfileColumns

Collection of ProfileColumn

None.

Response Formats

application/json, text/json

Sample:
{
  "Id": "sample string 1",
  "Name": "sample string 2",
  "ProfileColumns": [
    {
      "Name": "sample string 1",
      "Width": 2,
      "Hidden": true
    },
    {
      "Name": "sample string 1",
      "Width": 2,
      "Hidden": true
    }
  ]
}

application/xml, text/xml

Sample:
<Profile2 xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/Fcbc.BL.Db">
  <Id>sample string 1</Id>
  <Name>sample string 2</Name>
  <ProfileColumns>
    <ProfileColumn>
      <_x003C_Hidden_x003E_k__BackingField>true</_x003C_Hidden_x003E_k__BackingField>
      <_x003C_Name_x003E_k__BackingField>sample string 1</_x003C_Name_x003E_k__BackingField>
      <_x003C_Width_x003E_k__BackingField>2</_x003C_Width_x003E_k__BackingField>
    </ProfileColumn>
    <ProfileColumn>
      <_x003C_Hidden_x003E_k__BackingField>true</_x003C_Hidden_x003E_k__BackingField>
      <_x003C_Name_x003E_k__BackingField>sample string 1</_x003C_Name_x003E_k__BackingField>
      <_x003C_Width_x003E_k__BackingField>2</_x003C_Width_x003E_k__BackingField>
    </ProfileColumn>
  </ProfileColumns>
</Profile2>