POST api/MWM4/PostUpdateVOPCustomer?UD1={UD1}&UD2={UD2}
Request Information
URI Parameters
Name | Description | Type | Additional information |
---|---|---|---|
UD1 | string |
Required |
|
UD2 | string |
Required |
Body Parameters
MWM4VopCustomerDataName | Description | Type | Additional information |
---|---|---|---|
VOPID | integer |
None. |
|
VOPCustomerName | string |
None. |
|
VOPMinMaxdata | Collection of MWM4VopItemData |
None. |
|
CreationDate | date |
None. |
Request Formats
application/json, text/json
Sample:
{ "VOPID": 1, "VOPCustomerName": "sample string 2", "VOPMinMaxdata": [ { "_MidwestItemNumber": "sample string 1", "_Description": "sample string 2", "_StandardItemNumber": "sample string 3", "_OriginalMinimumStock": 4, "_OriginalMaximumStock": 5, "_MinimumStock": 6, "_MaximumStock": 7, "_EpicorSalesLastYear": 8, "_Modified": true }, { "_MidwestItemNumber": "sample string 1", "_Description": "sample string 2", "_StandardItemNumber": "sample string 3", "_OriginalMinimumStock": 4, "_OriginalMaximumStock": 5, "_MinimumStock": 6, "_MaximumStock": 7, "_EpicorSalesLastYear": 8, "_Modified": true } ], "CreationDate": "2025-01-15T03:02:17.8739885-05:00" }
application/xml, text/xml
Sample:
<MWM4VopCustomerData xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/Midwest.Controllers"> <CreationDate>2025-01-15T03:02:17.8739885-05:00</CreationDate> <VOPCustomerName>sample string 2</VOPCustomerName> <VOPID>1</VOPID> <VOPMinMaxdata> <MWM4VopItemData> <_Description>sample string 2</_Description> <_EpicorSalesLastYear>8</_EpicorSalesLastYear> <_MaximumStock>7</_MaximumStock> <_MidwestItemNumber>sample string 1</_MidwestItemNumber> <_MinimumStock>6</_MinimumStock> <_Modified>true</_Modified> <_OriginalMaximumStock>5</_OriginalMaximumStock> <_OriginalMinimumStock>4</_OriginalMinimumStock> <_StandardItemNumber>sample string 3</_StandardItemNumber> </MWM4VopItemData> <MWM4VopItemData> <_Description>sample string 2</_Description> <_EpicorSalesLastYear>8</_EpicorSalesLastYear> <_MaximumStock>7</_MaximumStock> <_MidwestItemNumber>sample string 1</_MidwestItemNumber> <_MinimumStock>6</_MinimumStock> <_Modified>true</_Modified> <_OriginalMaximumStock>5</_OriginalMaximumStock> <_OriginalMinimumStock>4</_OriginalMinimumStock> <_StandardItemNumber>sample string 3</_StandardItemNumber> </MWM4VopItemData> </VOPMinMaxdata> </MWM4VopCustomerData>
application/x-www-form-urlencoded
Sample:
Sample not available.
Response Information
Resource Description
stringResponse Formats
application/json, text/json
Sample:
"sample string 1"
application/xml, text/xml
Sample:
<string xmlns="http://schemas.microsoft.com/2003/10/Serialization/">sample string 1</string>