GET 3dCartWebAPI/v1/RMA/{rmaid}


Get a specific RMA

Request Information

URI Parameters

NameDescriptionTypeAdditional information
rmaid

RMA ID

integer

Required

Body Parameters

None.


Sample Request


Please click here to download the C# Rest API Client project from GitHub.
not yet available
not yet available

Response Information

Resource Description

Collection of RMA
NameDescriptionTypeAdditional information
RMAID

Primary key. Auto-incremented. database reference = RMA.idRma

integer

None.

RmaDate

database reference = RMA.RmaDate

date

None.

OrderID

database reference = RMA.orderid

integer

None.

RMAReasonID

database reference = RMA.idRmaReason

integer

None.

RMAMethodID

database reference = RMA.idRmaMethod

integer

None.

RMAStatusID

database reference = RMA.idRmaStatus

integer

None.

Comments

database reference = RMA.Comments

string

String length: inclusive between 0 and 65535

InternalComments

database reference = RMA.intComments

string

String length: inclusive between 0 and 65535

StaffComments

database reference = RMA.staffComments

string

String length: inclusive between 0 and 65535

RMAItemList

Collection of RMAItem

None.

Response Formats

application/json, text/json

Sample:
[
  {
    "RMAID": 1,
    "RmaDate": "08/16/2017 13:50",
    "OrderID": 1,
    "RMAReasonID": 1,
    "RMAMethodID": 1,
    "RMAStatusID": 1,
    "Comments": "sample string 1",
    "InternalComments": "sample string 2",
    "StaffComments": "sample string 3",
    "RMAItemList": [
      {
        "CatalogID": 1,
        "SKU": "sample string 1",
        "ItemName": "sample string 2",
        "ReturnQuantity": 1,
        "ReceivedQuantity": 1,
        "RestockQuantity": 1
      },
      {
        "CatalogID": 1,
        "SKU": "sample string 1",
        "ItemName": "sample string 2",
        "ReturnQuantity": 1,
        "ReceivedQuantity": 1,
        "RestockQuantity": 1
      }
    ]
  },
  {
    "RMAID": 1,
    "RmaDate": "08/16/2017 13:50",
    "OrderID": 1,
    "RMAReasonID": 1,
    "RMAMethodID": 1,
    "RMAStatusID": 1,
    "Comments": "sample string 1",
    "InternalComments": "sample string 2",
    "StaffComments": "sample string 3",
    "RMAItemList": [
      {
        "CatalogID": 1,
        "SKU": "sample string 1",
        "ItemName": "sample string 2",
        "ReturnQuantity": 1,
        "ReceivedQuantity": 1,
        "RestockQuantity": 1
      },
      {
        "CatalogID": 1,
        "SKU": "sample string 1",
        "ItemName": "sample string 2",
        "ReturnQuantity": 1,
        "ReceivedQuantity": 1,
        "RestockQuantity": 1
      }
    ]
  }
]

application/xml, text/xml

Sample:
<ArrayOfRMA xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
  <RMA>
    <RMAID>1</RMAID>
    <RmaDate>2017-08-16T13:50:34.6381312-04:00</RmaDate>
    <OrderID>1</OrderID>
    <RMAReasonID>1</RMAReasonID>
    <RMAMethodID>1</RMAMethodID>
    <RMAStatusID>1</RMAStatusID>
    <Comments>sample string 1</Comments>
    <InternalComments>sample string 2</InternalComments>
    <StaffComments>sample string 3</StaffComments>
    <RMAItemList>
      <RMAItem>
        <CatalogID>1</CatalogID>
        <SKU>sample string 1</SKU>
        <ItemName>sample string 2</ItemName>
        <ReturnQuantity>1</ReturnQuantity>
        <ReceivedQuantity>1</ReceivedQuantity>
        <RestockQuantity>1</RestockQuantity>
      </RMAItem>
      <RMAItem>
        <CatalogID>1</CatalogID>
        <SKU>sample string 1</SKU>
        <ItemName>sample string 2</ItemName>
        <ReturnQuantity>1</ReturnQuantity>
        <ReceivedQuantity>1</ReceivedQuantity>
        <RestockQuantity>1</RestockQuantity>
      </RMAItem>
    </RMAItemList>
  </RMA>
  <RMA>
    <RMAID>1</RMAID>
    <RmaDate>2017-08-16T13:50:34.6381312-04:00</RmaDate>
    <OrderID>1</OrderID>
    <RMAReasonID>1</RMAReasonID>
    <RMAMethodID>1</RMAMethodID>
    <RMAStatusID>1</RMAStatusID>
    <Comments>sample string 1</Comments>
    <InternalComments>sample string 2</InternalComments>
    <StaffComments>sample string 3</StaffComments>
    <RMAItemList>
      <RMAItem>
        <CatalogID>1</CatalogID>
        <SKU>sample string 1</SKU>
        <ItemName>sample string 2</ItemName>
        <ReturnQuantity>1</ReturnQuantity>
        <ReceivedQuantity>1</ReceivedQuantity>
        <RestockQuantity>1</RestockQuantity>
      </RMAItem>
      <RMAItem>
        <CatalogID>1</CatalogID>
        <SKU>sample string 1</SKU>
        <ItemName>sample string 2</ItemName>
        <ReturnQuantity>1</ReturnQuantity>
        <ReceivedQuantity>1</ReceivedQuantity>
        <RestockQuantity>1</RestockQuantity>
      </RMAItem>
    </RMAItemList>
  </RMA>
</ArrayOfRMA>