POST api/ProblemSLMTS/ReplacePartSubmit

Request Information

URI Parameters

None.

Body Parameters

ReplacePartHeader
NameDescriptionTypeAdditional information
IdProblem

string

None.

Ticket

string

None.

User

string

None.

DtlPart

Collection of ReplacePart

None.

Request Formats

application/json, text/json

Sample:
{
  "IdProblem": "sample string 1",
  "Ticket": "sample string 2",
  "User": "sample string 3",
  "DtlPart": [
    {
      "ItemCode": "sample string 1",
      "Qty": 2,
      "IsPending": "sample string 3",
      "attachment": [
        {
          "type": "sample string 1",
          "base64": "sample string 2",
          "Filename": "sample string 3"
        },
        {
          "type": "sample string 1",
          "base64": "sample string 2",
          "Filename": "sample string 3"
        }
      ]
    },
    {
      "ItemCode": "sample string 1",
      "Qty": 2,
      "IsPending": "sample string 3",
      "attachment": [
        {
          "type": "sample string 1",
          "base64": "sample string 2",
          "Filename": "sample string 3"
        },
        {
          "type": "sample string 1",
          "base64": "sample string 2",
          "Filename": "sample string 3"
        }
      ]
    }
  ]
}

text/xml

Sample:
<ReplacePartHeader xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/WebSerivce.Models">
  <DtlPart>
    <ReplacePart>
      <IsPending>sample string 3</IsPending>
      <ItemCode>sample string 1</ItemCode>
      <Qty>2</Qty>
      <attachment>
        <Attachment>
          <Filename>sample string 3</Filename>
          <base64>sample string 2</base64>
          <type>sample string 1</type>
        </Attachment>
        <Attachment>
          <Filename>sample string 3</Filename>
          <base64>sample string 2</base64>
          <type>sample string 1</type>
        </Attachment>
      </attachment>
    </ReplacePart>
    <ReplacePart>
      <IsPending>sample string 3</IsPending>
      <ItemCode>sample string 1</ItemCode>
      <Qty>2</Qty>
      <attachment>
        <Attachment>
          <Filename>sample string 3</Filename>
          <base64>sample string 2</base64>
          <type>sample string 1</type>
        </Attachment>
        <Attachment>
          <Filename>sample string 3</Filename>
          <base64>sample string 2</base64>
          <type>sample string 1</type>
        </Attachment>
      </attachment>
    </ReplacePart>
  </DtlPart>
  <IdProblem>sample string 1</IdProblem>
  <Ticket>sample string 2</Ticket>
  <User>sample string 3</User>
</ReplacePartHeader>

application/x-www-form-urlencoded

Sample:

Sample not available.

Response Information

Resource Description

IHttpActionResult

None.

Response Formats

application/json, text/json, text/xml

Sample:

Sample not available.