POST api/Rmas/CreateFromWorkOrder
No documentation available.
Request Information
Parameters
Name | Description | Additional information |
---|---|---|
Setup | No documentation available. |
Define this parameter in the request body. |
Request body formats
application/json, text/json
Sample:
{ "WorkOrderNo": 1, "EntityLineNo": 2, "RmaStatusCode": "sample string 3", "BillingType": "sample string 4", "EntityReturnCode": "sample string 5", "CreateRmaEntitiesForWorkOrderParts": true, "CreateRmaEntitiesForSpecificWorkOrderParts": true, "SpecificWorkOrderParts": [ 1, 2, 3 ], "OnlyCreateRmaEntitiesForWorkOrderPartsRequiringRma": true, "CreateRmaEntitiesForWorkOrderEntities": true, "CreateRmaEntitiesForSpecificWorkOrderEntities": true, "SpecificWorkOrderEntities": [ 1, 2, 3 ], "CreateRmaEntitiesForWorkOrderComponents": true, "UseWOrkOrderCustomerAsRmaCustomer": true, "SpecifyRmaCustomerTypeOfShippingAddressFlag": true, "CustomerTypeOfShippingAddressFlag": "sample string 14", "SpecifyRmaCustomerTypeOfBillingAddressFlag": true, "CustomerTypeOfBillingAddressFlag": "sample string 16", "UseWOrkOrderHeaderAsRmaHeader": true }
application/xml, text/xml
Sample:
<RmaFromWorkOrderCreationSetup xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/SMDomain.UOW.Helpers"> <BillingType>sample string 4</BillingType> <CreateRmaEntitiesForSpecificWorkOrderEntities>true</CreateRmaEntitiesForSpecificWorkOrderEntities> <CreateRmaEntitiesForSpecificWorkOrderParts>true</CreateRmaEntitiesForSpecificWorkOrderParts> <CreateRmaEntitiesForWorkOrderComponents>true</CreateRmaEntitiesForWorkOrderComponents> <CreateRmaEntitiesForWorkOrderEntities>true</CreateRmaEntitiesForWorkOrderEntities> <CreateRmaEntitiesForWorkOrderParts>true</CreateRmaEntitiesForWorkOrderParts> <CustomerTypeOfBillingAddressFlag>sample string 16</CustomerTypeOfBillingAddressFlag> <CustomerTypeOfShippingAddressFlag>sample string 14</CustomerTypeOfShippingAddressFlag> <EntityLineNo>2</EntityLineNo> <EntityReturnCode>sample string 5</EntityReturnCode> <OnlyCreateRmaEntitiesForWorkOrderPartsRequiringRma>true</OnlyCreateRmaEntitiesForWorkOrderPartsRequiringRma> <RmaStatusCode>sample string 3</RmaStatusCode> <SpecificWorkOrderEntities xmlns:d2p1="http://schemas.microsoft.com/2003/10/Serialization/Arrays"> <d2p1:int>1</d2p1:int> <d2p1:int>2</d2p1:int> <d2p1:int>3</d2p1:int> </SpecificWorkOrderEntities> <SpecificWorkOrderParts xmlns:d2p1="http://schemas.microsoft.com/2003/10/Serialization/Arrays"> <d2p1:int>1</d2p1:int> <d2p1:int>2</d2p1:int> <d2p1:int>3</d2p1:int> </SpecificWorkOrderParts> <SpecifyRmaCustomerTypeOfBillingAddressFlag>true</SpecifyRmaCustomerTypeOfBillingAddressFlag> <SpecifyRmaCustomerTypeOfShippingAddressFlag>true</SpecifyRmaCustomerTypeOfShippingAddressFlag> <UseWOrkOrderCustomerAsRmaCustomer>true</UseWOrkOrderCustomerAsRmaCustomer> <UseWOrkOrderHeaderAsRmaHeader>true</UseWOrkOrderHeaderAsRmaHeader> <WorkOrderNo>1</WorkOrderNo> </RmaFromWorkOrderCreationSetup>
application/x-www-form-urlencoded
Sample:
Sample not available.