POST admin/equipment/packages/save
No documentation available.
Request Information
Parameters
| Name | Description | Additional information |
|---|---|---|
| inVO | No documentation available. |
Define this parameter in the request body. |
Request body formats
application/json, text/json
Sample:
{
"networkId": "sample string 1",
"id": "sample string 2",
"name": "sample string 3",
"description": "sample string 4",
"image": "sample string 5",
"categoryId": "sample string 6",
"pricingMode": 7,
"flatPrice": 1.0,
"discountPercent": 1.0,
"waiverContent": "sample string 8",
"isActive": true,
"components": [
{
"itemTypeId": "sample string 1",
"name": "sample string 2",
"quantity": 3
},
{
"itemTypeId": "sample string 1",
"name": "sample string 2",
"quantity": 3
},
{
"itemTypeId": "sample string 1",
"name": "sample string 2",
"quantity": 3
}
],
"curUserId": "sample string 10",
"isSSO": true,
"requestHost": "sample string 12",
"applicationPath": "sample string 13",
"secureApplicationPath": "sample string 14",
"absoluteApplicationPath": "sample string 15",
"isHttps": true,
"isMobileDevice": true,
"isElectron": true,
"isFullEmbed": true,
"clientType": 0,
"clientVersion": "sample string 20",
"clientOS": "sample string 21",
"clientBuild": "sample string 22",
"premiumAppId": "sample string 23",
"clientWidth": 24,
"clientHeight": 25,
"timezone": 26
}
application/xml, text/xml
Sample:
<SavePackageInVO xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/imLeagues.Internal.API.VO.Input.Equipment">
<ClientHeight xmlns="http://schemas.datacontract.org/2004/07/imLeagues.Internal.API.VO.Input">25</ClientHeight>
<ClientType xmlns="http://schemas.datacontract.org/2004/07/imLeagues.Internal.API.VO.Input">Site</ClientType>
<ClientWidth xmlns="http://schemas.datacontract.org/2004/07/imLeagues.Internal.API.VO.Input">24</ClientWidth>
<absoluteApplicationPath xmlns="http://schemas.datacontract.org/2004/07/imLeagues.Internal.API.VO.Input">sample string 15</absoluteApplicationPath>
<applicationPath xmlns="http://schemas.datacontract.org/2004/07/imLeagues.Internal.API.VO.Input">sample string 13</applicationPath>
<cachedKey xmlns="http://schemas.datacontract.org/2004/07/imLeagues.Internal.API.VO.Input">sample string 1</cachedKey>
<clientBuild xmlns="http://schemas.datacontract.org/2004/07/imLeagues.Internal.API.VO.Input">sample string 22</clientBuild>
<clientOS xmlns="http://schemas.datacontract.org/2004/07/imLeagues.Internal.API.VO.Input">sample string 21</clientOS>
<clientVersion xmlns="http://schemas.datacontract.org/2004/07/imLeagues.Internal.API.VO.Input">sample string 20</clientVersion>
<curUserId xmlns="http://schemas.datacontract.org/2004/07/imLeagues.Internal.API.VO.Input">sample string 10</curUserId>
<isElectron xmlns="http://schemas.datacontract.org/2004/07/imLeagues.Internal.API.VO.Input">true</isElectron>
<isFullEmbed xmlns="http://schemas.datacontract.org/2004/07/imLeagues.Internal.API.VO.Input">true</isFullEmbed>
<isHttps xmlns="http://schemas.datacontract.org/2004/07/imLeagues.Internal.API.VO.Input">true</isHttps>
<isMobileDevice xmlns="http://schemas.datacontract.org/2004/07/imLeagues.Internal.API.VO.Input">true</isMobileDevice>
<isSSO xmlns="http://schemas.datacontract.org/2004/07/imLeagues.Internal.API.VO.Input">true</isSSO>
<premiumAppId xmlns="http://schemas.datacontract.org/2004/07/imLeagues.Internal.API.VO.Input">sample string 23</premiumAppId>
<requestHost xmlns="http://schemas.datacontract.org/2004/07/imLeagues.Internal.API.VO.Input">sample string 12</requestHost>
<secureApplicationPath xmlns="http://schemas.datacontract.org/2004/07/imLeagues.Internal.API.VO.Input">sample string 14</secureApplicationPath>
<timezone xmlns="http://schemas.datacontract.org/2004/07/imLeagues.Internal.API.VO.Input">26</timezone>
<CategoryId>sample string 6</CategoryId>
<Components>
<SavePackageComponentInVO>
<ItemTypeId>sample string 1</ItemTypeId>
<Name>sample string 2</Name>
<Quantity>3</Quantity>
</SavePackageComponentInVO>
<SavePackageComponentInVO>
<ItemTypeId>sample string 1</ItemTypeId>
<Name>sample string 2</Name>
<Quantity>3</Quantity>
</SavePackageComponentInVO>
<SavePackageComponentInVO>
<ItemTypeId>sample string 1</ItemTypeId>
<Name>sample string 2</Name>
<Quantity>3</Quantity>
</SavePackageComponentInVO>
</Components>
<Description>sample string 4</Description>
<DiscountPercent>1</DiscountPercent>
<FlatPrice>1</FlatPrice>
<Id>sample string 2</Id>
<Image>sample string 5</Image>
<IsActive>true</IsActive>
<Name>sample string 3</Name>
<NetworkId>sample string 1</NetworkId>
<PricingMode>7</PricingMode>
<WaiverContent>sample string 8</WaiverContent>
</SavePackageInVO>
application/x-www-form-urlencoded
Sample:
Sample not available.
multipart/form-data
Sample:
--MultipartDataMediaFormatterBoundary1q2w3e Content-Disposition: form-data; name="cachedKey" sample string 1 --MultipartDataMediaFormatterBoundary1q2w3e--
Response Information
No documentation available.
Response body formats
application/json, text/json
Sample:
{
"isDone": true,
"code": 0,
"message": "sample string 2",
"data": {},
"cachedKey": "sample string 4",
"correlationId": "f064ebe1-c23c-4910-8276-22dc637e0805",
"jwtTokenForSPA": "sample string 6",
"jwtTokenIndexForSPA": 1
}
application/xml, text/xml
Sample:
<ResultOutVO xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/imLeagues.Internal.API.VO.Output.Common"> <CachedKey>sample string 4</CachedKey> <Code>None</Code> <CorrelationId>f064ebe1-c23c-4910-8276-22dc637e0805</CorrelationId> <Data /> <IsDone>true</IsDone> <JwtTokenForSPA>sample string 6</JwtTokenForSPA> <JwtTokenIndexForSPA>1</JwtTokenIndexForSPA> <Message>sample string 2</Message> </ResultOutVO>
multipart/form-data
Sample:
Sample not available.