POST updateProjectData

Request Information

URI Parameters

None.

Body Parameters

ProjectDataModel
NameDescriptionTypeAdditional information
Project

ProjectModel

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": 4,
    "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:
<ProjectDataModel 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>4</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>
</ProjectDataModel>

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

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.