POST api/EditProductMiniPak

Request Information

URI Parameters

None.

Body Parameters

ProductMiniPakAddEditRequest
NameDescriptionTypeAdditional information
IdProduct

integer

None.

SheetCod

string

None.

Color

string

None.

ColorDescription

string

None.

ClientName

string

None.

State

string

None.

TotalMeters

decimal number

None.

StartDate

date

None.

TypeDamage

string

None.

EntryDate

date

None.

Combined

string

None.

Common

string

None.

RepetitionsNumber

integer

None.

OrderNumber

string

None.

Width

decimal number

None.

Emergent

string

None.

BallardLayer

boolean

None.

Taps

string

None.

SaveCylinder

string

None.

ClientCode

string

None.

InRelocation

string

None.

InventoryWareH

string

None.

WareHouse

string

None.

Destination

string

None.

Balanced

boolean

None.

BalancedDate

date

None.

Calibre

decimal number

None.

Pistas

integer

None.

Manga

integer

None.

Montajes

integer

None.

NumRepAncho

integer

None.

Cantidad

integer

None.

Ubicador

string

None.

Gen

string

None.

Gen1

string

None.

Gen2

string

None.

Gen3

decimal number

None.

Gen4

decimal number

None.

Gen5

decimal number

None.

Id

integer

None.

Name

string

None.

Description

string

None.

IsEnabled

boolean

None.

User

string

None.

UserId

integer

None.

ValidationKey

string

None.

Request Formats

application/json, text/json

Sample:
{
  "idProduct": 1,
  "sheetCod": "sample string 2",
  "color": "sample string 3",
  "colorDescription": "sample string 4",
  "clientName": "sample string 5",
  "state": "sample string 6",
  "totalMeters": 1.0,
  "startDate": "2024-11-30T23:36:53.9528338-05:00",
  "typeDamage": "sample string 8",
  "entryDate": "2024-11-30T23:36:53.9528338-05:00",
  "combined": "sample string 10",
  "common": "sample string 11",
  "repetitionsNumber": 1,
  "orderNumber": "sample string 12",
  "width": 1.0,
  "emergent": "sample string 13",
  "ballardLayer": true,
  "taps": "sample string 15",
  "saveCylinder": "sample string 16",
  "clientCode": "sample string 17",
  "inRelocation": "sample string 18",
  "inventoryWareH": "sample string 19",
  "wareHouse": "sample string 20",
  "destination": "sample string 21",
  "balanced": true,
  "balancedDate": "2024-11-30T23:36:53.9528338-05:00",
  "calibre": 22.0,
  "pistas": 23,
  "manga": 24,
  "montajes": 25,
  "numRepAncho": 26,
  "cantidad": 27,
  "ubicador": "sample string 28",
  "gen": "sample string 29",
  "gen1": "sample string 30",
  "gen2": "sample string 31",
  "gen3": 32.0,
  "gen4": 33.0,
  "gen5": 34.0,
  "id": 35,
  "name": "sample string 36",
  "description": "sample string 37",
  "isEnabled": true,
  "user": "sample string 39",
  "userId": 40,
  "validationKey": "sample string 41"
}

application/xml, text/xml

Sample:
<ProductMiniPakAddEditRequest xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/SGAMovil.Request.ProductMiniPak">
  <User xmlns="http://schemas.datacontract.org/2004/07/SGAMovil.Request">sample string 39</User>
  <UserId xmlns="http://schemas.datacontract.org/2004/07/SGAMovil.Request">40</UserId>
  <ValidationKey xmlns="http://schemas.datacontract.org/2004/07/SGAMovil.Request">sample string 41</ValidationKey>
  <Description xmlns="http://schemas.datacontract.org/2004/07/SGAMovil.Request">sample string 37</Description>
  <Id xmlns="http://schemas.datacontract.org/2004/07/SGAMovil.Request">35</Id>
  <IsEnabled xmlns="http://schemas.datacontract.org/2004/07/SGAMovil.Request">true</IsEnabled>
  <Name xmlns="http://schemas.datacontract.org/2004/07/SGAMovil.Request">sample string 36</Name>
  <Balanced>true</Balanced>
  <BalancedDate>2024-11-30T23:36:53.9528338-05:00</BalancedDate>
  <BallardLayer>true</BallardLayer>
  <Calibre>22</Calibre>
  <Cantidad>27</Cantidad>
  <ClientCode>sample string 17</ClientCode>
  <ClientName>sample string 5</ClientName>
  <Color>sample string 3</Color>
  <ColorDescription>sample string 4</ColorDescription>
  <Combined>sample string 10</Combined>
  <Common>sample string 11</Common>
  <Destination>sample string 21</Destination>
  <Emergent>sample string 13</Emergent>
  <EntryDate>2024-11-30T23:36:53.9528338-05:00</EntryDate>
  <Gen>sample string 29</Gen>
  <Gen1>sample string 30</Gen1>
  <Gen2>sample string 31</Gen2>
  <Gen3>32</Gen3>
  <Gen4>33</Gen4>
  <Gen5>34</Gen5>
  <IdProduct>1</IdProduct>
  <InRelocation>sample string 18</InRelocation>
  <InventoryWareH>sample string 19</InventoryWareH>
  <Manga>24</Manga>
  <Montajes>25</Montajes>
  <NumRepAncho>26</NumRepAncho>
  <OrderNumber>sample string 12</OrderNumber>
  <Pistas>23</Pistas>
  <RepetitionsNumber>1</RepetitionsNumber>
  <SaveCylinder>sample string 16</SaveCylinder>
  <SheetCod>sample string 2</SheetCod>
  <StartDate>2024-11-30T23:36:53.9528338-05:00</StartDate>
  <State>sample string 6</State>
  <Taps>sample string 15</Taps>
  <TotalMeters>1</TotalMeters>
  <TypeDamage>sample string 8</TypeDamage>
  <Ubicador>sample string 28</Ubicador>
  <WareHouse>sample string 20</WareHouse>
  <Width>1</Width>
</ProductMiniPakAddEditRequest>

application/x-www-form-urlencoded

Sample:

Failed to generate the sample for media type 'application/x-www-form-urlencoded'. Cannot use formatter 'JQueryMvcFormUrlEncodedFormatter' to write type 'ProductMiniPakAddEditRequest'.

Response Information

Resource Description

Response
NameDescriptionTypeAdditional information
ResultCode

integer

None.

ResultMessage

string

None.

ErrorMessage

string

None.

Response Formats

application/json, text/json

Sample:
{
  "resultCode": 1,
  "resultMessage": "sample string 2",
  "errorMessage": "sample string 3"
}

application/xml, text/xml

Sample:
<Response xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/SGAMovil.Response">
  <ErrorMessage>sample string 3</ErrorMessage>
  <ResultCode>1</ResultCode>
  <ResultMessage>sample string 2</ResultMessage>
</Response>