POST api/QualificationInfoPackEdit

Request Information

URI Parameters

None.

Body Parameters

InfoPackUrlVM
NameDescriptionTypeAdditional information
Id

integer

None.

Name

string

Max length: 125

Url

string

None.

Description

string

Max length: 2000

Order

integer

None.

QualificationModeOfDeliveryRelationshipId

integer

None.

Request Formats

application/json, text/json

Sample:
{
  "id": 1,
  "name": "sample string 2",
  "url": "sample string 3",
  "description": "sample string 4",
  "order": 5,
  "qualificationModeOfDeliveryRelationshipId": 6
}

text/html

Sample:
{"id":1,"name":"sample string 2","url":"sample string 3","description":"sample string 4","order":5,"qualificationModeOfDeliveryRelationshipId":6}

application/xml, text/xml

Sample:
<InfoPackUrlVM xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/StategixWordpressClassManger.ASP_WebAPI.ViewModels">
  <Description>sample string 4</Description>
  <Id>1</Id>
  <Name>sample string 2</Name>
  <Order>5</Order>
  <QualificationModeOfDeliveryRelationshipId>6</QualificationModeOfDeliveryRelationshipId>
  <Url>sample string 3</Url>
</InfoPackUrlVM>

application/x-www-form-urlencoded

Sample:

Failed to generate the sample for media type 'application/x-www-form-urlencoded'. Cannot use formatter 'JQueryMvcFormUrlEncodedFormatter' to write type 'InfoPackUrlVM'.

Response Information

Resource Description

InfoPackUrl
NameDescriptionTypeAdditional information
Id

integer

None.

Name

string

Max length: 125

Url

string

None.

Description

string

Max length: 2000

Order

integer

None.

QualificationModeOfDeliveryRelationshipId

integer

None.

QualificationModeOfDeliveryRelationship

QualificationModeOfDeliveryRelationship

None.

Response Formats

application/json

Sample:

An exception has occurred while using the formatter 'JsonMediaTypeFormatter' to generate sample for media type 'application/json'. Exception message: Self referencing loop detected with type 'StategixWordpressClassManger.DataModels.Qualification'. Path 'qualificationModeOfDeliveryRelationship.qualification.qualificationType.qualifications'.

text/json

Sample:

An exception has occurred while using the formatter 'JsonMediaTypeFormatter' to generate sample for media type 'text/json'. Exception message: Self referencing loop detected with type 'StategixWordpressClassManger.DataModels.Qualification'. Path 'qualificationModeOfDeliveryRelationship.qualification.qualificationType.qualifications'.

text/html

Sample:

An exception has occurred while using the formatter 'JsonMediaTypeFormatter' to generate sample for media type 'text/html'. Exception message: Self referencing loop detected with type 'StategixWordpressClassManger.DataModels.Qualification'. Path 'qualificationModeOfDeliveryRelationship.qualification.qualificationType.qualifications'.

application/xml

Sample:

An exception has occurred while using the formatter 'XmlMediaTypeFormatter' to generate sample for media type 'application/xml'. Exception message: Object graph for type 'System.Collections.Generic.List`1[[StategixWordpressClassManger.DataModels.ClassInstance, StategixWordpressClassManger.DataModels, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null]]' contains cycles and cannot be serialized if reference tracking is disabled.

text/xml

Sample:

An exception has occurred while using the formatter 'XmlMediaTypeFormatter' to generate sample for media type 'text/xml'. Exception message: Object graph for type 'System.Collections.Generic.List`1[[StategixWordpressClassManger.DataModels.ClassInstance, StategixWordpressClassManger.DataModels, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null]]' contains cycles and cannot be serialized if reference tracking is disabled.