POST api/TablesManagement/AddPattern?pFromPattern={pFromPattern}

Request Information

URI Parameters

NameDescriptionTypeAdditional information
pFromPattern

integer

Required

Body Parameters

Pattern
NameDescriptionTypeAdditional information
selected

boolean

None.

fileerror

string

None.

patternnum

integer

None.

patdescription

string

Required

String length: inclusive between 0 and 80

patfile

string

String length: inclusive between 0 and 120

patrem

string

None.

for_signature

string

Required

String length: inclusive between 0 and 1

patterntype

integer

None.

is_default

string

Required

String length: inclusive between 0 and 1

is_protected

string

String length: inclusive between 0 and 11

interface_code

string

String length: inclusive between 0 and 10

old_code

integer

None.

PatternGroups

PatternGroups

None.

PatternsLinks

Collection of PatternsLink

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 with type 'CustDemog.Pattern'. Path 'PatternGroups.Patterns'.

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 'CustDemog.Pattern'. Path 'PatternGroups.Patterns'.

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[[CustDemog.Pattern, CustDemog, 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[[CustDemog.Pattern, CustDemog, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null]]' 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 'Pattern'.

application/bson

Sample:
Binary JSON content. See http://bsonspec.org for details.

Response Information

Resource Description

Pattern
NameDescriptionTypeAdditional information
selected

boolean

None.

fileerror

string

None.

patternnum

integer

None.

patdescription

string

Required

String length: inclusive between 0 and 80

patfile

string

String length: inclusive between 0 and 120

patrem

string

None.

for_signature

string

Required

String length: inclusive between 0 and 1

patterntype

integer

None.

is_default

string

Required

String length: inclusive between 0 and 1

is_protected

string

String length: inclusive between 0 and 11

interface_code

string

String length: inclusive between 0 and 10

old_code

integer

None.

PatternGroups

PatternGroups

None.

PatternsLinks

Collection of PatternsLink

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 'CustDemog.Pattern'. Path 'PatternGroups.Patterns'.

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 'CustDemog.Pattern'. Path 'PatternGroups.Patterns'.

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[[CustDemog.Pattern, CustDemog, 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[[CustDemog.Pattern, CustDemog, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null]]' contains cycles and cannot be serialized if reference tracking is disabled.

application/bson

Sample:
Binary JSON content. See http://bsonspec.org for details.