POST api/ShoppingCart
Request Information
URI Parameters
None.
Body Parameters
LotDetailsPageDefaultsViewModel| Name | Description | Type | Additional information |
|---|---|---|---|
| memebershipUser | MembershipUserViewModel |
None. |
|
| memebershipUserCountry | string |
None. |
|
| companyImageLogo | string |
None. |
|
| lotDetails | LotListingViewModel |
None. |
|
| todaysDate | string |
None. |
|
| converterList | Collection of LotConverterListingViewModel |
None. |
|
| totalConverters | decimal number |
None. |
|
| totalValue | decimal number |
None. |
|
| averageConverterValue | decimal number |
None. |
|
| lblConverterTotal | string |
None. |
|
| lblValueTotal | string |
None. |
|
| lblConverterValueAvarage | string |
None. |
|
| lblLotDetails | string |
None. |
|
| lblConverterRef | string |
None. |
|
| lblConverterVolume | string |
None. |
|
| lblConverterQty | string |
None. |
|
| lblConverterValue | string |
None. |
|
| lblConverterTotalValue | string |
None. |
|
| lblTotalConverter | string |
None. |
|
| lblTotalValue | string |
None. |
|
| lblAvarageConverter | string |
None. |
|
| lblFooter | string |
None. |
Request Formats
application/json, text/json
Sample:
{
"memebershipUser": {
"membershipUserID": 1,
"firstName": "sample string 2",
"lastName": "sample string 3",
"emailID": "sample string 4",
"address": "sample string 5",
"city": "sample string 6",
"zipCode": "sample string 7",
"state": "sample string 8",
"countryID": 64,
"countryCode": 64,
"mobileNo": "sample string 10",
"faxNo": "sample string 11",
"companyName": "sample string 12",
"updateCompanyImage": true,
"companyLogoImageName": "sample string 14",
"companyLogoImagePath": "sample string 15",
"personCRMID": "sample string 16",
"password": "sample string 17",
"passwordSalt": "sample string 18",
"membershipRoleID": 64,
"languageID": 64,
"numberFormat": true,
"isActive": true,
"isDeleted": true,
"isLocked": true,
"passwordFailedAttempt": 64,
"lastLockedDate": "2025-10-24T15:43:23.8576445+05:30",
"lastPasswordChangeDate": "2025-10-24T15:43:23.8576445+05:30",
"tokenID": "sample string 26",
"tokenCreatedDate": "2025-10-24T15:43:23.8576445+05:30",
"tokenStatus": true,
"createdBy": 27,
"createdDate": "2025-10-24T15:43:23.8576445+05:30",
"modifiedBy": 1,
"modifiedDate": "2025-10-24T15:43:23.8576445+05:30",
"firstLoginChangePassword": true,
"firstLoginChangePasswordDate": "2025-10-24T15:43:23.8576445+05:30",
"secureAuthentication": true,
"subcontractor": "sample string 31",
"termsAcceptDate": "2025-10-24T15:43:23.8576445+05:30",
"registerUserID": 32,
"userTokenID": "sample string 33",
"userTokenCreatedDate": "2025-10-24T15:43:23.8576445+05:30",
"userTokenStatus": true,
"OTPOption": 1
},
"memebershipUserCountry": "sample string 1",
"companyImageLogo": "sample string 2",
"lotDetails": {
"lotListingID": 1,
"lotMasterID": 1,
"currencyID": 2,
"lotName": "sample string 3",
"marginType": true,
"marginValue": 5.0,
"currencyName": "sample string 6",
"currencySymbol": "sample string 7",
"currencyConversionRate": 1.0,
"converter_Types": 1,
"total_Converters": 1,
"lot_Value": 1.0,
"isActive": true,
"isDeleted": true,
"createdBy": 10,
"collectorName": "sample string 11"
},
"todaysDate": "sample string 3",
"converterList": [
{
"lotConverterListingID": 1,
"lotMasterID": 1,
"lotDetailsID": 2,
"converterID": 3,
"converterRefNo": "sample string 4",
"isCustomConverter": true,
"converterValue": 5.0,
"converterQuantity": 6,
"converterTotalValue": 7.0,
"converterImage": "sample string 8",
"isActive": true,
"isDeleted": true,
"converterVolumeName": "sample string 11",
"converterVolumeValue": 12.0,
"lblConverterValue": "sample string 13",
"lblConverterTotalValue": "sample string 14"
},
{
"lotConverterListingID": 1,
"lotMasterID": 1,
"lotDetailsID": 2,
"converterID": 3,
"converterRefNo": "sample string 4",
"isCustomConverter": true,
"converterValue": 5.0,
"converterQuantity": 6,
"converterTotalValue": 7.0,
"converterImage": "sample string 8",
"isActive": true,
"isDeleted": true,
"converterVolumeName": "sample string 11",
"converterVolumeValue": 12.0,
"lblConverterValue": "sample string 13",
"lblConverterTotalValue": "sample string 14"
}
],
"totalConverters": 4.0,
"totalValue": 5.0,
"averageConverterValue": 6.0,
"lblConverterTotal": "sample string 7",
"lblValueTotal": "sample string 8",
"lblConverterValueAvarage": "sample string 9",
"lblLotDetails": "sample string 10",
"lblConverterRef": "sample string 11",
"lblConverterVolume": "sample string 12",
"lblConverterQty": "sample string 13",
"lblConverterValue": "sample string 14",
"lblConverterTotalValue": "sample string 15",
"lblTotalConverter": "sample string 16",
"lblTotalValue": "sample string 17",
"lblAvarageConverter": "sample string 18",
"lblFooter": "sample string 19"
}
application/xml, text/xml
Sample:
<LotDetailsPageDefaultsViewModel xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/Petra_Mobile_API.ViewModels">
<averageConverterValue>6</averageConverterValue>
<companyImageLogo>sample string 2</companyImageLogo>
<converterList>
<LotConverterListingViewModel>
<converterID>3</converterID>
<converterImage>sample string 8</converterImage>
<converterQuantity>6</converterQuantity>
<converterRefNo>sample string 4</converterRefNo>
<converterTotalValue>7</converterTotalValue>
<converterValue>5</converterValue>
<converterVolumeName>sample string 11</converterVolumeName>
<converterVolumeValue>12</converterVolumeValue>
<isActive>true</isActive>
<isCustomConverter>true</isCustomConverter>
<isDeleted>true</isDeleted>
<lblConverterTotalValue>sample string 14</lblConverterTotalValue>
<lblConverterValue>sample string 13</lblConverterValue>
<lotConverterListingID>1</lotConverterListingID>
<lotDetailsID>2</lotDetailsID>
<lotMasterID>1</lotMasterID>
</LotConverterListingViewModel>
<LotConverterListingViewModel>
<converterID>3</converterID>
<converterImage>sample string 8</converterImage>
<converterQuantity>6</converterQuantity>
<converterRefNo>sample string 4</converterRefNo>
<converterTotalValue>7</converterTotalValue>
<converterValue>5</converterValue>
<converterVolumeName>sample string 11</converterVolumeName>
<converterVolumeValue>12</converterVolumeValue>
<isActive>true</isActive>
<isCustomConverter>true</isCustomConverter>
<isDeleted>true</isDeleted>
<lblConverterTotalValue>sample string 14</lblConverterTotalValue>
<lblConverterValue>sample string 13</lblConverterValue>
<lotConverterListingID>1</lotConverterListingID>
<lotDetailsID>2</lotDetailsID>
<lotMasterID>1</lotMasterID>
</LotConverterListingViewModel>
</converterList>
<lblAvarageConverter>sample string 18</lblAvarageConverter>
<lblConverterQty>sample string 13</lblConverterQty>
<lblConverterRef>sample string 11</lblConverterRef>
<lblConverterTotal>sample string 7</lblConverterTotal>
<lblConverterTotalValue>sample string 15</lblConverterTotalValue>
<lblConverterValue>sample string 14</lblConverterValue>
<lblConverterValueAvarage>sample string 9</lblConverterValueAvarage>
<lblConverterVolume>sample string 12</lblConverterVolume>
<lblFooter>sample string 19</lblFooter>
<lblLotDetails>sample string 10</lblLotDetails>
<lblTotalConverter>sample string 16</lblTotalConverter>
<lblTotalValue>sample string 17</lblTotalValue>
<lblValueTotal>sample string 8</lblValueTotal>
<lotDetails>
<collectorName>sample string 11</collectorName>
<converter_Types>1</converter_Types>
<createdBy>10</createdBy>
<currencyConversionRate>1</currencyConversionRate>
<currencyID>2</currencyID>
<currencyName>sample string 6</currencyName>
<currencySymbol>sample string 7</currencySymbol>
<isActive>true</isActive>
<isDeleted>true</isDeleted>
<lotListingID>1</lotListingID>
<lotMasterID>1</lotMasterID>
<lotName>sample string 3</lotName>
<lot_Value>1</lot_Value>
<marginType>true</marginType>
<marginValue>5</marginValue>
<total_Converters>1</total_Converters>
</lotDetails>
<memebershipUser>
<OTPOption>1</OTPOption>
<address>sample string 5</address>
<city>sample string 6</city>
<companyLogoImageName>sample string 14</companyLogoImageName>
<companyLogoImagePath>sample string 15</companyLogoImagePath>
<companyName>sample string 12</companyName>
<countryCode>64</countryCode>
<countryID>64</countryID>
<createdBy>27</createdBy>
<createdDate>2025-10-24T15:43:23.8576445+05:30</createdDate>
<emailID>sample string 4</emailID>
<faxNo>sample string 11</faxNo>
<firstLoginChangePassword>true</firstLoginChangePassword>
<firstLoginChangePasswordDate>2025-10-24T15:43:23.8576445+05:30</firstLoginChangePasswordDate>
<firstName>sample string 2</firstName>
<isActive>true</isActive>
<isDeleted>true</isDeleted>
<isLocked>true</isLocked>
<languageID>64</languageID>
<lastLockedDate>2025-10-24T15:43:23.8576445+05:30</lastLockedDate>
<lastName>sample string 3</lastName>
<lastPasswordChangeDate>2025-10-24T15:43:23.8576445+05:30</lastPasswordChangeDate>
<membershipRoleID>64</membershipRoleID>
<membershipUserID>1</membershipUserID>
<mobileNo>sample string 10</mobileNo>
<modifiedBy>1</modifiedBy>
<modifiedDate>2025-10-24T15:43:23.8576445+05:30</modifiedDate>
<numberFormat>true</numberFormat>
<password>sample string 17</password>
<passwordFailedAttempt>64</passwordFailedAttempt>
<passwordSalt>sample string 18</passwordSalt>
<personCRMID>sample string 16</personCRMID>
<registerUserID>32</registerUserID>
<secureAuthentication>true</secureAuthentication>
<state>sample string 8</state>
<subcontractor>sample string 31</subcontractor>
<termsAcceptDate>2025-10-24T15:43:23.8576445+05:30</termsAcceptDate>
<tokenCreatedDate>2025-10-24T15:43:23.8576445+05:30</tokenCreatedDate>
<tokenID>sample string 26</tokenID>
<tokenStatus>true</tokenStatus>
<updateCompanyImage>true</updateCompanyImage>
<userTokenCreatedDate>2025-10-24T15:43:23.8576445+05:30</userTokenCreatedDate>
<userTokenID>sample string 33</userTokenID>
<userTokenStatus>true</userTokenStatus>
<zipCode>sample string 7</zipCode>
</memebershipUser>
<memebershipUserCountry>sample string 1</memebershipUserCountry>
<todaysDate>sample string 3</todaysDate>
<totalConverters>4</totalConverters>
<totalValue>5</totalValue>
</LotDetailsPageDefaultsViewModel>
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. |