POST api/v1/portals/{portalUid}/industries
Creates the industry by specified portal UID.
Request Information
URI Parameters
| Name | Description | Type | Additional information |
|---|---|---|---|
| portalUid |
The portal UID. |
globally unique identifier |
Required |
Body Parameters
The industry.
Industry| Name | Description | Type | Additional information |
|---|---|---|---|
| Name |
The industry name. |
string |
Required String length: inclusive between 0 and 50 |
| Company |
The company we are creating this industry in If no industry is set, eclipse will default to the first company in the portal |
globally unique identifier |
None. |
Request Formats
application/json, text/json
Sample:
{
"Name": "sample string 1",
"Company": "9d306bfd-14d2-4546-93c7-08620aa87518"
}
application/xml, text/xml
Sample:
<Industry xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/Eclipse.WebApi.Common.Models"> <Company>9d306bfd-14d2-4546-93c7-08620aa87518</Company> <Name>sample string 1</Name> </Industry>
application/x-www-form-urlencoded
Sample:
Sample not available.
Response Information
Resource Description
Returns the created industry.
IndustryViewModel| Name | Description | Type | Additional information |
|---|---|---|---|
| Name |
The industry name. |
string |
None. |
| Portal |
The portal. |
PortalViewModel |
None. |
| IndustryGuid |
The industries unique identifier |
globally unique identifier |
None. |
| Uid |
The GUID. |
globally unique identifier |
None. |
| Links |
The links. |
Collection of Link |
None. |
| DateUpdated |
Last time the record was updated |
date |
None. |
| UpdatedBy |
Who updated the record last |
string |
None. |
Response Formats
application/json, text/json
Sample:
{
"Name": "sample string 1",
"Portal": {
"Name": "sample string 1",
"Uid": "764e7905-c9d0-47c8-b1c0-f08330d190ed",
"Links": [
{
"Href": "http://webapihelppage1.com",
"Method": "sample string 2",
"Rel": "sample string 3",
"Title": "sample string 4",
"Type": "sample string 5"
},
{
"Href": "http://webapihelppage1.com",
"Method": "sample string 2",
"Rel": "sample string 3",
"Title": "sample string 4",
"Type": "sample string 5"
}
],
"DateUpdated": "2025-10-27T14:00:28.3032303+00:00",
"UpdatedBy": "sample string 3"
},
"IndustryGuid": "243a48a1-5529-443f-9d28-e244e1bd205b",
"Uid": "06cd2124-469c-4c8c-b917-ebb2aa81805b",
"Links": [
{
"Href": "http://webapihelppage1.com",
"Method": "sample string 2",
"Rel": "sample string 3",
"Title": "sample string 4",
"Type": "sample string 5"
},
{
"Href": "http://webapihelppage1.com",
"Method": "sample string 2",
"Rel": "sample string 3",
"Title": "sample string 4",
"Type": "sample string 5"
}
],
"DateUpdated": "2025-10-27T14:00:28.3032303+00:00",
"UpdatedBy": "sample string 4"
}
application/xml, text/xml
Sample:
<IndustryViewModel xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/Eclipse.WebApi.Common.ViewModels">
<DateUpdated>2025-10-27T14:00:28.3032303+00:00</DateUpdated>
<Links xmlns:d2p1="http://schemas.datacontract.org/2004/07/Eclipse.WebApi.Common.Models">
<d2p1:Link>
<d2p1:Href>http://webapihelppage1.com/</d2p1:Href>
<d2p1:Method>sample string 2</d2p1:Method>
<d2p1:Rel>sample string 3</d2p1:Rel>
<d2p1:Title>sample string 4</d2p1:Title>
<d2p1:Type>sample string 5</d2p1:Type>
</d2p1:Link>
<d2p1:Link>
<d2p1:Href>http://webapihelppage1.com/</d2p1:Href>
<d2p1:Method>sample string 2</d2p1:Method>
<d2p1:Rel>sample string 3</d2p1:Rel>
<d2p1:Title>sample string 4</d2p1:Title>
<d2p1:Type>sample string 5</d2p1:Type>
</d2p1:Link>
</Links>
<Uid>06cd2124-469c-4c8c-b917-ebb2aa81805b</Uid>
<UpdatedBy>sample string 4</UpdatedBy>
<IndustryGuid>243a48a1-5529-443f-9d28-e244e1bd205b</IndustryGuid>
<Name>sample string 1</Name>
<Portal>
<DateUpdated>2025-10-27T14:00:28.3032303+00:00</DateUpdated>
<Links xmlns:d3p1="http://schemas.datacontract.org/2004/07/Eclipse.WebApi.Common.Models">
<d3p1:Link>
<d3p1:Href>http://webapihelppage1.com/</d3p1:Href>
<d3p1:Method>sample string 2</d3p1:Method>
<d3p1:Rel>sample string 3</d3p1:Rel>
<d3p1:Title>sample string 4</d3p1:Title>
<d3p1:Type>sample string 5</d3p1:Type>
</d3p1:Link>
<d3p1:Link>
<d3p1:Href>http://webapihelppage1.com/</d3p1:Href>
<d3p1:Method>sample string 2</d3p1:Method>
<d3p1:Rel>sample string 3</d3p1:Rel>
<d3p1:Title>sample string 4</d3p1:Title>
<d3p1:Type>sample string 5</d3p1:Type>
</d3p1:Link>
</Links>
<Uid>764e7905-c9d0-47c8-b1c0-f08330d190ed</Uid>
<UpdatedBy>sample string 3</UpdatedBy>
<Name>sample string 1</Name>
</Portal>
</IndustryViewModel>