POST saveProjectDataNew

Request Information

URI Parameters

None.

Body Parameters

ProjectNewDataModel
NameDescriptionTypeAdditional information
Project

ProjectNewModel

None.

Configuration

Collection of ProjectConfigurationModel

None.

ProjectPanels

Collection of ProjectPanelModel

None.

Request Formats

application/json, text/json

Sample:
{
  "Project": {
    "ProjectId": 1,
    "ProjectName": "sample string 2",
    "UserId": "sample string 3",
    "ProductId": "04a94fee-b4d2-48e4-91a2-ad70d1f9771d",
    "ProductName": "sample string 5",
    "PanelOrder": "sample string 6",
    "CreatedOn": "sample string 7",
    "StepToOpen": 8,
    "UpdatedOn": "sample string 9",
    "Owner": "sample string 10",
    "LastEditor": "sample string 11",
    "SharedUserName": [
      "sample string 1",
      "sample string 2"
    ],
    "HasUrn": true,
    "ArticleCode": "sample string 13"
  },
  "Configuration": [
    {
      "PanelId": 1,
      "FieldId": 2,
      "FieldValue": "sample string 3",
      "RevitOptionValue": "sample string 4",
      "LineUp": "sample string 5",
      "IsDisabled": 6
    },
    {
      "PanelId": 1,
      "FieldId": 2,
      "FieldValue": "sample string 3",
      "RevitOptionValue": "sample string 4",
      "LineUp": "sample string 5",
      "IsDisabled": 6
    }
  ],
  "ProjectPanels": [
    {
      "ProjectId": 1,
      "PanelId": 2,
      "LinkId": 3,
      "LineUp": "sample string 4",
      "ValidForm": true
    },
    {
      "ProjectId": 1,
      "PanelId": 2,
      "LinkId": 3,
      "LineUp": "sample string 4",
      "ValidForm": true
    }
  ]
}

application/xml, text/xml

Sample:
<ProjectNewDataModel xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/AbbApi.Models">
  <Configuration>
    <ProjectConfigurationModel>
      <FieldId>2</FieldId>
      <FieldValue>sample string 3</FieldValue>
      <IsDisabled>6</IsDisabled>
      <LineUp>sample string 5</LineUp>
      <PanelId>1</PanelId>
      <RevitOptionValue>sample string 4</RevitOptionValue>
    </ProjectConfigurationModel>
    <ProjectConfigurationModel>
      <FieldId>2</FieldId>
      <FieldValue>sample string 3</FieldValue>
      <IsDisabled>6</IsDisabled>
      <LineUp>sample string 5</LineUp>
      <PanelId>1</PanelId>
      <RevitOptionValue>sample string 4</RevitOptionValue>
    </ProjectConfigurationModel>
  </Configuration>
  <Project>
    <ArticleCode>sample string 13</ArticleCode>
    <CreatedOn>sample string 7</CreatedOn>
    <HasUrn>true</HasUrn>
    <LastEditor>sample string 11</LastEditor>
    <Owner>sample string 10</Owner>
    <PanelOrder>sample string 6</PanelOrder>
    <ProductId>04a94fee-b4d2-48e4-91a2-ad70d1f9771d</ProductId>
    <ProductName>sample string 5</ProductName>
    <ProjectId>1</ProjectId>
    <ProjectName>sample string 2</ProjectName>
    <SharedUserName xmlns:d3p1="http://schemas.microsoft.com/2003/10/Serialization/Arrays">
      <d3p1:string>sample string 1</d3p1:string>
      <d3p1:string>sample string 2</d3p1:string>
    </SharedUserName>
    <StepToOpen>8</StepToOpen>
    <UpdatedOn>sample string 9</UpdatedOn>
    <UserId>sample string 3</UserId>
  </Project>
  <ProjectPanels>
    <ProjectPanelModel>
      <LineUp>sample string 4</LineUp>
      <LinkId>3</LinkId>
      <PanelId>2</PanelId>
      <ProjectId>1</ProjectId>
      <ValidForm>true</ValidForm>
    </ProjectPanelModel>
    <ProjectPanelModel>
      <LineUp>sample string 4</LineUp>
      <LinkId>3</LinkId>
      <PanelId>2</PanelId>
      <ProjectId>1</ProjectId>
      <ValidForm>true</ValidForm>
    </ProjectPanelModel>
  </ProjectPanels>
</ProjectNewDataModel>

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

Response Information

Resource Description

HttpResponseMessage
NameDescriptionTypeAdditional information
Version

Version

None.

Content

HttpContent

None.

StatusCode

HttpStatusCode

None.

ReasonPhrase

string

None.

Headers

Collection of Object

None.

RequestMessage

HttpRequestMessage

None.

IsSuccessStatusCode

boolean

None.