POST api/LMSMaster/SavePortMaster
Request Information
URI Parameters
None.
Body Parameters
PortMasterData| Name | Description | Type | Additional information |
|---|---|---|---|
| PortID | integer |
None. |
|
| PortCode | string |
None. |
|
| PortName | string |
None. |
|
| Description | string |
None. |
|
| RevenueShareApplicable | integer |
None. |
|
| CapLimitApplicable | integer |
None. |
|
| SkipPortCount | integer |
None. |
|
| IsActive | integer |
None. |
|
| InActiveDate | date |
None. |
|
| WEFROMDATE | date |
None. |
|
| WETODATE | date |
None. |
|
| PortMasterDetail | Collection of PortMasterDetail |
None. |
|
| PortMasterLinking | Collection of PortMasterLinking |
None. |
|
| UserID | integer |
None. |
|
| CompanyID | integer |
None. |
|
| FinancialYearID | integer |
None. |
|
| FinancialYear | string |
None. |
Request Formats
application/json, text/json
Sample:
{
"PortID": 1,
"PortCode": "sample string 2",
"PortName": "sample string 3",
"Description": "sample string 4",
"RevenueShareApplicable": 1,
"CapLimitApplicable": 1,
"SkipPortCount": 1,
"IsActive": 1,
"InActiveDate": "2025-12-12T02:29:24.124207+05:30",
"WEFROMDATE": "2025-12-12T02:29:24.124207+05:30",
"WETODATE": "2025-12-12T02:29:24.124207+05:30",
"PortMasterDetail": [
{
"ProductCategoryID": 1
},
{
"ProductCategoryID": 1
}
],
"PortMasterLinking": [
{
"ServiceProviderID": 1,
"ChargeID": 1,
"SlabID": 1,
"RentPerPort": 1
},
{
"ServiceProviderID": 1,
"ChargeID": 1,
"SlabID": 1,
"RentPerPort": 1
}
],
"UserID": 1,
"CompanyID": 1,
"FinancialYearID": 1,
"FinancialYear": "sample string 5"
}
application/xml, text/xml
Sample:
<PortMasterData xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/MfgProj.BusinessObject">
<CompanyID>1</CompanyID>
<FinancialYear>sample string 5</FinancialYear>
<FinancialYearID>1</FinancialYearID>
<UserID>1</UserID>
<CapLimitApplicable>1</CapLimitApplicable>
<Description>sample string 4</Description>
<InActiveDate>2025-12-12T02:29:24.124207+05:30</InActiveDate>
<IsActive>1</IsActive>
<PortCode>sample string 2</PortCode>
<PortID>1</PortID>
<PortMasterDetail>
<PortMasterDetail>
<ProductCategoryID>1</ProductCategoryID>
</PortMasterDetail>
<PortMasterDetail>
<ProductCategoryID>1</ProductCategoryID>
</PortMasterDetail>
</PortMasterDetail>
<PortMasterLinking>
<PortMasterLinking>
<ChargeID>1</ChargeID>
<RentPerPort>1</RentPerPort>
<ServiceProviderID>1</ServiceProviderID>
<SlabID>1</SlabID>
</PortMasterLinking>
<PortMasterLinking>
<ChargeID>1</ChargeID>
<RentPerPort>1</RentPerPort>
<ServiceProviderID>1</ServiceProviderID>
<SlabID>1</SlabID>
</PortMasterLinking>
</PortMasterLinking>
<PortName>sample string 3</PortName>
<RevenueShareApplicable>1</RevenueShareApplicable>
<SkipPortCount>1</SkipPortCount>
<WEFROMDATE>2025-12-12T02:29:24.124207+05:30</WEFROMDATE>
<WETODATE>2025-12-12T02:29:24.124207+05:30</WETODATE>
</PortMasterData>
application/x-www-form-urlencoded
Sample:
Sample not available.
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. |