POST api/SchemeMaster/SpotDetail
Request Information
URI Parameters
None.
Body Parameters
Z_SchemeSpotDetailName | Description | Type | Additional information |
---|---|---|---|
schemeMaster | S_SchemeMaster |
None. |
|
schemeSpotDetail | Collection of S_SchemeSpotDetail |
None. |
|
schemeStateWise | Collection of S_StateWiseScheme |
None. |
Request Formats
application/json, text/json
Sample:
{ "schemeMaster": { "Id": 1, "SchemeId": 2, "SchemeName": "sample string 3", "Description": "sample string 4", "FromDate": "2025-03-28T14:33:14.5472622+00:00", "ToDate": "2025-03-28T14:33:14.5472622+00:00", "SchemeType": "sample string 5", "ProductMainGroupId": 6, "Active": "sample string 7", "ApplyOn": "sample string 8", "SchemeImagePath": "QEA=", "BranchCode": 9, "CreatedBy": 1, "CreatedOn": "2025-03-28T14:33:14.5472622+00:00", "ModifiedBy": 1, "ModifiedOn": "2025-03-28T14:33:14.5472622+00:00", "PerUnitFlag": "sample string 10" }, "schemeSpotDetail": [ { "Id": 1, "SchemeId": 2, "Itemcode": "sample string 3", "Quantity": 1.0, "FreeItemCode": "sample string 4", "FreeQuantity": 1.0, "TotalQuantity": 1.0, "BranchCode": 5 }, { "Id": 1, "SchemeId": 2, "Itemcode": "sample string 3", "Quantity": 1.0, "FreeItemCode": "sample string 4", "FreeQuantity": 1.0, "TotalQuantity": 1.0, "BranchCode": 5 } ], "schemeStateWise": [ { "Id": 1, "SchemeId": 2, "StateId": 3 }, { "Id": 1, "SchemeId": 2, "StateId": 3 } ] }
application/xml, text/xml
Sample:
<Z_SchemeSpotDetail xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/RREL.Data.Models"> <schemeMaster> <Active>sample string 7</Active> <ApplyOn>sample string 8</ApplyOn> <BranchCode>9</BranchCode> <CreatedBy>1</CreatedBy> <CreatedOn>2025-03-28T14:33:14.5472622+00:00</CreatedOn> <Description>sample string 4</Description> <FromDate>2025-03-28T14:33:14.5472622+00:00</FromDate> <Id>1</Id> <ModifiedBy>1</ModifiedBy> <ModifiedOn>2025-03-28T14:33:14.5472622+00:00</ModifiedOn> <PerUnitFlag>sample string 10</PerUnitFlag> <ProductMainGroupId>6</ProductMainGroupId> <SchemeId>2</SchemeId> <SchemeImagePath>QEA=</SchemeImagePath> <SchemeName>sample string 3</SchemeName> <SchemeType>sample string 5</SchemeType> <ToDate>2025-03-28T14:33:14.5472622+00:00</ToDate> </schemeMaster> <schemeSpotDetail> <S_SchemeSpotDetail> <BranchCode>5</BranchCode> <FreeItemCode>sample string 4</FreeItemCode> <FreeQuantity>1</FreeQuantity> <Id>1</Id> <Itemcode>sample string 3</Itemcode> <Quantity>1</Quantity> <SchemeId>2</SchemeId> <TotalQuantity>1</TotalQuantity> </S_SchemeSpotDetail> <S_SchemeSpotDetail> <BranchCode>5</BranchCode> <FreeItemCode>sample string 4</FreeItemCode> <FreeQuantity>1</FreeQuantity> <Id>1</Id> <Itemcode>sample string 3</Itemcode> <Quantity>1</Quantity> <SchemeId>2</SchemeId> <TotalQuantity>1</TotalQuantity> </S_SchemeSpotDetail> </schemeSpotDetail> <schemeStateWise> <S_StateWiseScheme> <Id>1</Id> <SchemeId>2</SchemeId> <StateId>3</StateId> </S_StateWiseScheme> <S_StateWiseScheme> <Id>1</Id> <SchemeId>2</SchemeId> <StateId>3</StateId> </S_StateWiseScheme> </schemeStateWise> </Z_SchemeSpotDetail>
application/x-www-form-urlencoded
Sample:
Response Information
Resource Description
HttpResponseMessageName | 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. |