POST api/docgen/CreateComplaintDoc

Request Information

URI Parameters

None.

Body Parameters

ComplaintDto
NameDescriptionTypeAdditional information
CaseId

integer

None.

Fa

string

None.

Complainants

Collection of PartyDto

None.

ComplainantRep

RepresentativeDto

None.

Respondents

Collection of PartyDto

None.

RespondentRep

RepresentativeDto

None.

RespondentAdditionalContact

PartyDto

None.

Domains

Collection of DomainDto

None.

FactualAndLegal1

string

None.

FactualAndLegal2

string

None.

FactualAndLegal3

string

None.

IsRemedyTransferred

boolean

None.

OtherLegalProceedings

string

None.

IsTransmitted

boolean

None.

MutualJurisdiction

string

None.

Certification

CertificationDto

None.

FilingId

string

None.

Ruleset

string

None.

CheckLength

boolean

None.

BypassLengthCheck

boolean

None.

Request 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 for property 'AdditionalContact' with type 'CaseManagement.DocGen.Models.Complaint.PartyDto'. Path 'Complainants[0]'.

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 for property 'AdditionalContact' with type 'CaseManagement.DocGen.Models.Complaint.PartyDto'. Path 'Complainants[0]'.

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 'CaseManagement.DocGen.Models.Complaint.PartyDto' 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 'CaseManagement.DocGen.Models.Complaint.PartyDto' contains cycles and cannot be serialized if reference tracking is disabled.

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 'ComplaintDto'.

Response Information

Resource Description

string

Response Formats

application/json, text/json

Sample:
"sample string 1"

application/xml, text/xml

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