POST api/Segment/CreateSegmentDataAsync
Request Information
URI Parameters
None.
Body Parameters
SegmentBAL| Name | Description | Type | Additional information |
|---|---|---|---|
| SegmentID | integer |
None. |
|
| ParentID | integer |
None. |
|
| ModifiedBy | integer |
None. |
|
| OrganizationID | integer |
None. |
|
| SegmentName | string |
None. |
|
| ParentName | string |
None. |
|
| Notes | string |
None. |
|
| FileName | string |
None. |
|
| UrlPath | string |
None. |
|
| CreatedFrom | string |
None. |
|
| SegmentTypeID | integer |
None. |
Request Formats
application/json, text/json
Sample:
{
"segmentID": 1,
"parentID": 1,
"modifiedBy": 1,
"organizationID": 1,
"segmentName": "sample string 2",
"parentName": "sample string 3",
"notes": "sample string 4",
"fileName": "sample string 5",
"urlPath": "sample string 6",
"createdFrom": "sample string 7",
"segmentTypeID": 1
}
application/xml, text/xml
Sample:
<SegmentBAL xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/Transportal.BAL.Segment"> <CreatedFrom>sample string 7</CreatedFrom> <FileName>sample string 5</FileName> <ModifiedBy>1</ModifiedBy> <Notes>sample string 4</Notes> <OrganizationID>1</OrganizationID> <ParentID>1</ParentID> <ParentName>sample string 3</ParentName> <SegmentID>1</SegmentID> <SegmentName>sample string 2</SegmentName> <SegmentTypeID>1</SegmentTypeID> <UrlPath>sample string 6</UrlPath> </SegmentBAL>
multipart/form-data
Sample:
<SegmentBAL xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/Transportal.BAL.Segment"><CreatedFrom>sample string 7</CreatedFrom><FileName>sample string 5</FileName><ModifiedBy>1</ModifiedBy><Notes>sample string 4</Notes><OrganizationID>1</OrganizationID><ParentID>1</ParentID><ParentName>sample string 3</ParentName><SegmentID>1</SegmentID><SegmentName>sample string 2</SegmentName><SegmentTypeID>1</SegmentTypeID><UrlPath>sample string 6</UrlPath></SegmentBAL>
application/x-www-form-urlencoded
Sample:
Sample not available.
Response Information
Resource Description
IHttpActionResultNone.
Response Formats
application/json, text/json, application/xml, text/xml, multipart/form-data
Sample:
Sample not available.