POST api/AdvanceFormsDesigner/CopyFormMetaData

Request Information

URI Parameters

None.

Body Parameters

Copymodelform
NameDescriptionTypeAdditional information
oldFormName

string

None.

companyId

integer

None.

userId

integer

None.

featureRepository

FeatureManager

None.

schema

ProviderSchema

None.

environmentCode

string

None.

Request Formats

application/json, text/json

Sample:
{
  "oldFormName": "sample string 1",
  "companyId": 2,
  "userId": 3,
  "featureRepository": {
    "Session": null
  },
  "schema": {
    "SchemaId": "e243f3f7-f019-4b7d-b0df-c849868ed485",
    "Name": "sample string 2",
    "SecurityDatabase": "sample string 3",
    "SecurityFactory": "sample string 4",
    "ProviderDatabase": "sample string 5",
    "ProviderFactory": "sample string 6",
    "CompanyID": 7,
    "CustomURL": "sample string 8",
    "SafeProviderFactory": "CSI.Enterprise.Framework.DataAccess.Drivers.WcfServiceClient"
  },
  "environmentCode": "sample string 4"
}

application/xml

Sample:

An exception has occurred while using the formatter 'XmlMediaTypeFormatter' to generate sample for media type 'application/xml'. Exception message: Type 'CSI.Cx360.WebAPI.DataAccess.AdvanceFormsDesigner.SecuritySession' cannot be serialized. Consider marking it with the DataContractAttribute attribute, and marking all of its members you want serialized with the DataMemberAttribute attribute. If the type is a collection, consider marking it with the CollectionDataContractAttribute. See the Microsoft .NET Framework documentation for other supported types.

text/xml

Sample:

An exception has occurred while using the formatter 'XmlMediaTypeFormatter' to generate sample for media type 'text/xml'. Exception message: Type 'CSI.Cx360.WebAPI.DataAccess.AdvanceFormsDesigner.SecuritySession' cannot be serialized. Consider marking it with the DataContractAttribute attribute, and marking all of its members you want serialized with the DataMemberAttribute attribute. If the type is a collection, consider marking it with the CollectionDataContractAttribute. See the Microsoft .NET Framework documentation for other supported types.

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

Response Information

Resource Description

Object

None.

Response Formats

application/json, text/json

Sample:
{}

application/xml, text/xml

Sample:
<z:anyType xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns:z="http://schemas.microsoft.com/2003/10/Serialization/" />