POST api/LMSMaster/SaveServiceProvider
Request Information
URI Parameters
None.
Body Parameters
ServiceProvider| Name | Description | Type | Additional information |
|---|---|---|---|
| ProviderID | integer |
None. |
|
| ProviderName | string |
None. |
|
| PostAddress | string |
None. |
|
| CountryID | integer |
None. |
|
| StateID | integer |
None. |
|
| CityID | integer |
None. |
|
| PinCode | string |
None. |
|
| IsActive | integer |
None. |
|
| InActiveDate | date |
None. |
|
| WEFROMDATE | date |
None. |
|
| WETODATE | date |
None. |
|
| ServiceProviderDetail | Collection of ServiceProviderDetail |
None. |
|
| UserID | integer |
None. |
|
| CompanyID | integer |
None. |
|
| FinancialYearID | integer |
None. |
|
| FinancialYear | string |
None. |
Request Formats
application/json, text/json
Sample:
{
"ProviderID": 1,
"ProviderName": "sample string 1",
"PostAddress": "sample string 2",
"CountryID": 1,
"StateID": 1,
"CityID": 1,
"PinCode": "sample string 3",
"IsActive": 1,
"InActiveDate": "2025-12-12T02:40:46.3839515+05:30",
"WEFROMDATE": "2025-12-12T02:40:46.3839515+05:30",
"WETODATE": "2025-12-12T02:40:46.3839515+05:30",
"ServiceProviderDetail": [
{
"IndustryID": 1
},
{
"IndustryID": 1
}
],
"UserID": 1,
"CompanyID": 1,
"FinancialYearID": 1,
"FinancialYear": "sample string 4"
}
application/xml, text/xml
Sample:
<ServiceProvider xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/MfgProj.BusinessObject">
<CompanyID>1</CompanyID>
<FinancialYear>sample string 4</FinancialYear>
<FinancialYearID>1</FinancialYearID>
<UserID>1</UserID>
<CityID>1</CityID>
<CountryID>1</CountryID>
<InActiveDate>2025-12-12T02:40:46.3839515+05:30</InActiveDate>
<IsActive>1</IsActive>
<PinCode>sample string 3</PinCode>
<PostAddress>sample string 2</PostAddress>
<ProviderID>1</ProviderID>
<ProviderName>sample string 1</ProviderName>
<ServiceProviderDetail>
<ServiceProviderDetail>
<IndustryID>1</IndustryID>
</ServiceProviderDetail>
<ServiceProviderDetail>
<IndustryID>1</IndustryID>
</ServiceProviderDetail>
</ServiceProviderDetail>
<StateID>1</StateID>
<WEFROMDATE>2025-12-12T02:40:46.3839515+05:30</WEFROMDATE>
<WETODATE>2025-12-12T02:40:46.3839515+05:30</WETODATE>
</ServiceProvider>
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. |