POST saveProjectDataNew
Request Information
URI Parameters
None.
Body Parameters
ProjectNewDataModel| Name | Description | Type | Additional information |
|---|---|---|---|
| Project | ProjectNewModel |
None. |
|
| Configuration | Collection of ProjectConfigurationModel |
None. |
|
| ProjectPanels | Collection of ProjectPanelModel |
None. |
Request Formats
application/json, text/json
Sample:
{
"Project": {
"ProjectUid": "f4c39603-58c5-4d59-84ea-34b2d7ead4e4",
"ProjectName": "sample string 2",
"UserId": "sample string 3",
"ProductId": "f938b056-4b44-4901-9df2-7ff602adb439",
"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": [
{
"PanelId": 1,
"LinkId": 2,
"LineUp": "sample string 3",
"ValidForm": true
},
{
"PanelId": 1,
"LinkId": 2,
"LineUp": "sample string 3",
"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>f938b056-4b44-4901-9df2-7ff602adb439</ProductId>
<ProductName>sample string 5</ProductName>
<ProjectName>sample string 2</ProjectName>
<ProjectUid>f4c39603-58c5-4d59-84ea-34b2d7ead4e4</ProjectUid>
<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 3</LineUp>
<LinkId>2</LinkId>
<PanelId>1</PanelId>
<ValidForm>true</ValidForm>
</ProjectPanelModel>
<ProjectPanelModel>
<LineUp>sample string 3</LineUp>
<LinkId>2</LinkId>
<PanelId>1</PanelId>
<ValidForm>true</ValidForm>
</ProjectPanelModel>
</ProjectPanels>
</ProjectNewDataModel>
application/x-www-form-urlencoded
Sample:
Response Information
Resource Description
HttpResponseMessage| Name | Description | Type | Additional information |
|---|---|---|---|
| Version | Version |
None. |
|
| Content | HttpContent |
None. |
|
| StatusCode | HttpStatusCode |
None. |
|
| ReasonPhrase | string |
None. |
|
| Headers | Collection of Object |
None. |
|
| RequestMessage | HttpRequestMessage |
None. |
|
| IsSuccessStatusCode | boolean |
None. |