POST api/ProfileTypes/CRUD

Add/Update/Delete ProfileTypes

Request Information

URI Parameters

None.

Body Parameters

String Array of ProfileType Names And Information(Mandatory)

Collection of ProfileTypeInfo
NameDescriptionTypeAdditional information
ProfileType1

string

None.

Description

string

None.

ShortFormProfileType

string

None.

IsActive

boolean

None.

ITTFOfficialType

boolean

None.

ProfileTypeId

integer

None.

IsParentChildProfileType

boolean

None.

Deleted

integer

None.

AccreditationCode

string

None.

Request Formats

application/json, text/json

Sample:
[
  {
    "ProfileType1": "sample string 1",
    "Description": "sample string 2",
    "ShortFormProfileType": "sample string 3",
    "IsActive": true,
    "ITTFOfficialType": true,
    "ProfileTypeId": 1,
    "IsParentChildProfileType": true,
    "Deleted": 1,
    "AccreditationCode": "sample string 6"
  },
  {
    "ProfileType1": "sample string 1",
    "Description": "sample string 2",
    "ShortFormProfileType": "sample string 3",
    "IsActive": true,
    "ITTFOfficialType": true,
    "ProfileTypeId": 1,
    "IsParentChildProfileType": true,
    "Deleted": 1,
    "AccreditationCode": "sample string 6"
  }
]

application/xml, text/xml

Sample:
<ArrayOfProfileTypeInfo xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/ClassLibraryITTF1">
  <ProfileTypeInfo>
    <AccreditationCode>sample string 6</AccreditationCode>
    <Deleted>1</Deleted>
    <Description>sample string 2</Description>
    <ITTFOfficialType>true</ITTFOfficialType>
    <IsActive>true</IsActive>
    <IsParentChildProfileType>true</IsParentChildProfileType>
    <ProfileType1>sample string 1</ProfileType1>
    <ProfileTypeId>1</ProfileTypeId>
    <ShortFormProfileType>sample string 3</ShortFormProfileType>
  </ProfileTypeInfo>
  <ProfileTypeInfo>
    <AccreditationCode>sample string 6</AccreditationCode>
    <Deleted>1</Deleted>
    <Description>sample string 2</Description>
    <ITTFOfficialType>true</ITTFOfficialType>
    <IsActive>true</IsActive>
    <IsParentChildProfileType>true</IsParentChildProfileType>
    <ProfileType1>sample string 1</ProfileType1>
    <ProfileTypeId>1</ProfileTypeId>
    <ShortFormProfileType>sample string 3</ShortFormProfileType>
  </ProfileTypeInfo>
</ArrayOfProfileTypeInfo>

application/x-www-form-urlencoded

Sample:

Sample not available.

Response Information

Resource Description

integer

Response Formats

application/json, text/json

Sample:
1

application/xml, text/xml

Sample:
<int xmlns="http://schemas.microsoft.com/2003/10/Serialization/">1</int>