POST api/DocumentImport/RulePost
Request Information
URI Parameters
None.
Body Parameters
DocumentImportViewModelName | Description | Type | Additional information |
---|---|---|---|
ProjectID | globally unique identifier |
None. |
|
ProjectTemplateID | globally unique identifier |
None. |
|
Validate | boolean |
None. |
|
ImportDataList | Collection of DocumentImportDataViewModel |
None. |
|
ImportRuleDataList | Collection of DocumentImportRuleDataViewModel |
None. |
|
ImportFeatureDataList | Collection of DocumentImportFeatureDataViewModel |
None. |
|
CompanyID | integer |
None. |
|
Language | string |
None. |
|
CreatedDate | date |
None. |
|
CreatedUserID | globally unique identifier |
None. |
|
ModifiedDate | date |
None. |
|
ModifiedUserID | globally unique identifier |
None. |
|
FeatureID | globally unique identifier |
None. |
|
Token | globally unique identifier |
None. |
|
Action | Actions |
None. |
|
FilterText | string |
None. |
|
CurrentIndex | integer |
None. |
|
PageSize | integer |
None. |
|
TotalRecords | integer |
None. |
|
SortColumn | string |
None. |
|
Sortby | SortDirection |
None. |
|
ImageId | integer |
None. |
|
IsDeleted | boolean |
None. |
|
IsActive | boolean |
None. |
|
Sort | integer |
None. |
|
Messages | Collection of ErrorMessage |
None. |
Request Formats
application/json, text/json
Sample:
{ "ProjectID": "ed917363-21df-400c-8941-20143e2e0f85", "ProjectTemplateID": "8f77e2d7-4c3f-4b9b-888b-22058fcc51d2", "Validate": true, "ImportDataList": [ { "Module": "sample string 1", "People": "sample string 2", "BusinessObject": "sample string 3", "Action": "sample string 4", "ApplicationType": "sample string 5", "Page": "sample string 6", "Complexity": "sample string 7", "Weight": 8, "Priority": 9, "Process": "sample string 10" }, { "Module": "sample string 1", "People": "sample string 2", "BusinessObject": "sample string 3", "Action": "sample string 4", "ApplicationType": "sample string 5", "Page": "sample string 6", "Complexity": "sample string 7", "Weight": 8, "Priority": 9, "Process": "sample string 10" } ], "ImportRuleDataList": [ { "Module": "sample string 1", "Name": "sample string 2", "Event": "sample string 3", "Type": "sample string 4", "Description": "sample string 5", "Specification": "sample string 6", "Link": "sample string 7", "LinkToField": "sample string 8" }, { "Module": "sample string 1", "Name": "sample string 2", "Event": "sample string 3", "Type": "sample string 4", "Description": "sample string 5", "Specification": "sample string 6", "Link": "sample string 7", "LinkToField": "sample string 8" } ], "ImportFeatureDataList": [ { "Module": "sample string 1", "BusinessObjectName": "sample string 2", "FieldName": "sample string 3", "Description": "sample string 4", "FieldType": "sample string 5", "FieldFormat": "sample string 6", "FieldMask": "sample string 7", "IsID": "sample string 8", "IsUnique": "sample string 9", "IsRequired": "sample string 10", "IsRelated": "sample string 11", "RelatedBusinessObjectName": "sample string 12", "FieldCode": "sample string 13", "Length": 1.0, "ListValues": "sample string 14", "IsAggregate": "sample string 15" }, { "Module": "sample string 1", "BusinessObjectName": "sample string 2", "FieldName": "sample string 3", "Description": "sample string 4", "FieldType": "sample string 5", "FieldFormat": "sample string 6", "FieldMask": "sample string 7", "IsID": "sample string 8", "IsUnique": "sample string 9", "IsRequired": "sample string 10", "IsRelated": "sample string 11", "RelatedBusinessObjectName": "sample string 12", "FieldCode": "sample string 13", "Length": 1.0, "ListValues": "sample string 14", "IsAggregate": "sample string 15" } ], "CompanyID": 4, "Language": "sample string 5", "CreatedDate": "2025-08-29T01:02:12.7524655+00:00", "CreatedUserID": "c6a054e2-d233-4642-9c58-68e806bbce06", "ModifiedDate": "2025-08-29T01:02:12.7524655+00:00", "ModifiedUserID": "68bdb281-a5b9-4632-92bf-59bda2efedb6", "FeatureID": "a64d7474-c68d-4a5f-aca2-a6b1bacf9bc9", "Token": "7e2ad8c5-6e9c-418f-910c-44275a753a58", "Action": 0, "FilterText": "sample string 12", "CurrentIndex": 13, "PageSize": 14, "TotalRecords": 15, "SortColumn": "sample string 16", "Sortby": 0, "ImageId": 1, "IsDeleted": true, "IsActive": true, "Sort": 1, "Messages": [ { "ErrorType": 1, "Message": "sample string 2" }, { "ErrorType": 1, "Message": "sample string 2" } ] }
application/xml, text/xml
Sample:
<DocumentImportViewModel xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/ArtSolutions.ReqStudio.Core.ProjectModels"> <Action xmlns="http://schemas.datacontract.org/2004/07/ArtSolutions.ReqStudio.Core">View</Action> <CompanyID xmlns="http://schemas.datacontract.org/2004/07/ArtSolutions.ReqStudio.Core">4</CompanyID> <CreatedDate xmlns="http://schemas.datacontract.org/2004/07/ArtSolutions.ReqStudio.Core">2025-08-29T01:02:12.7524655+00:00</CreatedDate> <CreatedUserID xmlns="http://schemas.datacontract.org/2004/07/ArtSolutions.ReqStudio.Core">c6a054e2-d233-4642-9c58-68e806bbce06</CreatedUserID> <CurrentIndex xmlns="http://schemas.datacontract.org/2004/07/ArtSolutions.ReqStudio.Core">13</CurrentIndex> <FeatureID xmlns="http://schemas.datacontract.org/2004/07/ArtSolutions.ReqStudio.Core">a64d7474-c68d-4a5f-aca2-a6b1bacf9bc9</FeatureID> <FilterText xmlns="http://schemas.datacontract.org/2004/07/ArtSolutions.ReqStudio.Core">sample string 12</FilterText> <ImageId xmlns="http://schemas.datacontract.org/2004/07/ArtSolutions.ReqStudio.Core">1</ImageId> <IsActive xmlns="http://schemas.datacontract.org/2004/07/ArtSolutions.ReqStudio.Core">true</IsActive> <IsDeleted xmlns="http://schemas.datacontract.org/2004/07/ArtSolutions.ReqStudio.Core">true</IsDeleted> <Language xmlns="http://schemas.datacontract.org/2004/07/ArtSolutions.ReqStudio.Core">sample string 5</Language> <Messages xmlns="http://schemas.datacontract.org/2004/07/ArtSolutions.ReqStudio.Core"> <ErrorMessage> <ErrorType>1</ErrorType> <Message>sample string 2</Message> </ErrorMessage> <ErrorMessage> <ErrorType>1</ErrorType> <Message>sample string 2</Message> </ErrorMessage> </Messages> <ModifiedDate xmlns="http://schemas.datacontract.org/2004/07/ArtSolutions.ReqStudio.Core">2025-08-29T01:02:12.7524655+00:00</ModifiedDate> <ModifiedUserID xmlns="http://schemas.datacontract.org/2004/07/ArtSolutions.ReqStudio.Core">68bdb281-a5b9-4632-92bf-59bda2efedb6</ModifiedUserID> <PageSize xmlns="http://schemas.datacontract.org/2004/07/ArtSolutions.ReqStudio.Core">14</PageSize> <Sort xmlns="http://schemas.datacontract.org/2004/07/ArtSolutions.ReqStudio.Core">1</Sort> <SortColumn xmlns="http://schemas.datacontract.org/2004/07/ArtSolutions.ReqStudio.Core">sample string 16</SortColumn> <Sortby xmlns="http://schemas.datacontract.org/2004/07/ArtSolutions.ReqStudio.Core">Asc</Sortby> <Token xmlns="http://schemas.datacontract.org/2004/07/ArtSolutions.ReqStudio.Core">7e2ad8c5-6e9c-418f-910c-44275a753a58</Token> <TotalRecords xmlns="http://schemas.datacontract.org/2004/07/ArtSolutions.ReqStudio.Core">15</TotalRecords> <ImportDataList> <DocumentImportDataViewModel> <Action>sample string 4</Action> <ApplicationType>sample string 5</ApplicationType> <BusinessObject>sample string 3</BusinessObject> <Complexity>sample string 7</Complexity> <Module>sample string 1</Module> <Page>sample string 6</Page> <People>sample string 2</People> <Priority>9</Priority> <Process>sample string 10</Process> <Weight>8</Weight> </DocumentImportDataViewModel> <DocumentImportDataViewModel> <Action>sample string 4</Action> <ApplicationType>sample string 5</ApplicationType> <BusinessObject>sample string 3</BusinessObject> <Complexity>sample string 7</Complexity> <Module>sample string 1</Module> <Page>sample string 6</Page> <People>sample string 2</People> <Priority>9</Priority> <Process>sample string 10</Process> <Weight>8</Weight> </DocumentImportDataViewModel> </ImportDataList> <ImportFeatureDataList> <DocumentImportFeatureDataViewModel> <BusinessObjectName>sample string 2</BusinessObjectName> <Description>sample string 4</Description> <FieldCode>sample string 13</FieldCode> <FieldFormat>sample string 6</FieldFormat> <FieldMask>sample string 7</FieldMask> <FieldName>sample string 3</FieldName> <FieldType>sample string 5</FieldType> <IsAggregate>sample string 15</IsAggregate> <IsID>sample string 8</IsID> <IsRelated>sample string 11</IsRelated> <IsRequired>sample string 10</IsRequired> <IsUnique>sample string 9</IsUnique> <Length>1</Length> <ListValues>sample string 14</ListValues> <Module>sample string 1</Module> <RelatedBusinessObjectName>sample string 12</RelatedBusinessObjectName> </DocumentImportFeatureDataViewModel> <DocumentImportFeatureDataViewModel> <BusinessObjectName>sample string 2</BusinessObjectName> <Description>sample string 4</Description> <FieldCode>sample string 13</FieldCode> <FieldFormat>sample string 6</FieldFormat> <FieldMask>sample string 7</FieldMask> <FieldName>sample string 3</FieldName> <FieldType>sample string 5</FieldType> <IsAggregate>sample string 15</IsAggregate> <IsID>sample string 8</IsID> <IsRelated>sample string 11</IsRelated> <IsRequired>sample string 10</IsRequired> <IsUnique>sample string 9</IsUnique> <Length>1</Length> <ListValues>sample string 14</ListValues> <Module>sample string 1</Module> <RelatedBusinessObjectName>sample string 12</RelatedBusinessObjectName> </DocumentImportFeatureDataViewModel> </ImportFeatureDataList> <ImportRuleDataList> <DocumentImportRuleDataViewModel> <Description>sample string 5</Description> <Event>sample string 3</Event> <Link>sample string 7</Link> <LinkToField>sample string 8</LinkToField> <Module>sample string 1</Module> <Name>sample string 2</Name> <Specification>sample string 6</Specification> <Type>sample string 4</Type> </DocumentImportRuleDataViewModel> <DocumentImportRuleDataViewModel> <Description>sample string 5</Description> <Event>sample string 3</Event> <Link>sample string 7</Link> <LinkToField>sample string 8</LinkToField> <Module>sample string 1</Module> <Name>sample string 2</Name> <Specification>sample string 6</Specification> <Type>sample string 4</Type> </DocumentImportRuleDataViewModel> </ImportRuleDataList> <ProjectID>ed917363-21df-400c-8941-20143e2e0f85</ProjectID> <ProjectTemplateID>8f77e2d7-4c3f-4b9b-888b-22058fcc51d2</ProjectTemplateID> <Validate>true</Validate> </DocumentImportViewModel>
application/x-www-form-urlencoded
Sample:
Sample not available.
Response Information
Resource Description
IHttpActionResultNone.
Response Formats
application/json, text/json, application/xml, text/xml
Sample:
Sample not available.