POST api/CHAImpMstrs/UploadSWControl

Request Information

URI Parameters

None.

Body Parameters

UploadSWControlInput
NameDescriptionTypeAdditional information
SWC_DETAILS

Collection of UploadSWControlList

None.

SWC_CP_ID

integer

None.

SWC_CREATED_BY

integer

None.

Request Formats

application/json, text/json

Sample:
{
  "SWC_DETAILS": [
    {
      "SWC_ID": 1,
      "SWC_CODE": "sample string 1",
      "SWC_DESC": "sample string 2",
      "SWC_FLAG": "sample string 3",
      "SWC_MESS": "sample string 4",
      "SWC_END_DATE": "2025-12-06T04:28:15.3623479+00:00",
      "SWC_TEXT": "sample string 5",
      "SWC_LEVEL": "sample string 6",
      "SWC_STATUS": "sample string 7"
    },
    {
      "SWC_ID": 1,
      "SWC_CODE": "sample string 1",
      "SWC_DESC": "sample string 2",
      "SWC_FLAG": "sample string 3",
      "SWC_MESS": "sample string 4",
      "SWC_END_DATE": "2025-12-06T04:28:15.3623479+00:00",
      "SWC_TEXT": "sample string 5",
      "SWC_LEVEL": "sample string 6",
      "SWC_STATUS": "sample string 7"
    }
  ],
  "SWC_CP_ID": 1,
  "SWC_CREATED_BY": 1
}

application/xml, text/xml

Sample:
<UploadSWControlInput xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/ZealitAPI.Models">
  <SWC_CP_ID>1</SWC_CP_ID>
  <SWC_CREATED_BY>1</SWC_CREATED_BY>
  <SWC_DETAILS>
    <UploadSWControlList>
      <SWC_CODE>sample string 1</SWC_CODE>
      <SWC_DESC>sample string 2</SWC_DESC>
      <SWC_END_DATE>2025-12-06T04:28:15.3623479+00:00</SWC_END_DATE>
      <SWC_FLAG>sample string 3</SWC_FLAG>
      <SWC_ID>1</SWC_ID>
      <SWC_LEVEL>sample string 6</SWC_LEVEL>
      <SWC_MESS>sample string 4</SWC_MESS>
      <SWC_STATUS>sample string 7</SWC_STATUS>
      <SWC_TEXT>sample string 5</SWC_TEXT>
    </UploadSWControlList>
    <UploadSWControlList>
      <SWC_CODE>sample string 1</SWC_CODE>
      <SWC_DESC>sample string 2</SWC_DESC>
      <SWC_END_DATE>2025-12-06T04:28:15.3623479+00:00</SWC_END_DATE>
      <SWC_FLAG>sample string 3</SWC_FLAG>
      <SWC_ID>1</SWC_ID>
      <SWC_LEVEL>sample string 6</SWC_LEVEL>
      <SWC_MESS>sample string 4</SWC_MESS>
      <SWC_STATUS>sample string 7</SWC_STATUS>
      <SWC_TEXT>sample string 5</SWC_TEXT>
    </UploadSWControlList>
  </SWC_DETAILS>
</UploadSWControlInput>

application/x-www-form-urlencoded

Sample:

Sample not available.

Response Information

Resource Description

HttpResponseMessage
NameDescriptionTypeAdditional information
Version

Version

None.

Content

HttpContent

None.

StatusCode

HttpStatusCode

None.

ReasonPhrase

string

None.

Headers

Collection of Object

None.

RequestMessage

HttpRequestMessage

None.

IsSuccessStatusCode

boolean

None.