POST api/UploadConfig/UploadData

Request Information

URI Parameters

None.

Body Parameters

UploadData
NameDescriptionTypeAdditional information
LR_CRC_UPLOAD

Collection of LR_CRC_UPLOAD

None.

LR_REBATE_UPLOAD

Collection of LR_REBATE_UPLOAD

None.

UPLOAD_BASE64

Collection of UPLOAD_BASE64

None.

UD_CREATED_BY

integer

None.

UD_MODE

string

None.

UD_CP_ID

integer

None.

Request Formats

application/json, text/json

Sample:
{
  "LR_CRC_UPLOAD": [
    {
      "LR_ID": 1,
      "LR_NUMBER": "sample string 1",
      "LR_DEL_TO_CP_ID": 1,
      "LR_BKG_COM_AMT": 1.1,
      "LR_DEL_PAYOUT_AMT": 1.1,
      "LR_DIS_COM_AMT": 1.1,
      "STATUS": "sample string 2",
      "RESULT": "sample string 3"
    },
    {
      "LR_ID": 1,
      "LR_NUMBER": "sample string 1",
      "LR_DEL_TO_CP_ID": 1,
      "LR_BKG_COM_AMT": 1.1,
      "LR_DEL_PAYOUT_AMT": 1.1,
      "LR_DIS_COM_AMT": 1.1,
      "STATUS": "sample string 2",
      "RESULT": "sample string 3"
    }
  ],
  "LR_REBATE_UPLOAD": [
    {
      "LR_ID": 1,
      "LR_NUMBER": "sample string 1",
      "LR_REBATE_AMT": 1.1,
      "STATUS": "sample string 2",
      "RESULT": "sample string 3"
    },
    {
      "LR_ID": 1,
      "LR_NUMBER": "sample string 1",
      "LR_REBATE_AMT": 1.1,
      "STATUS": "sample string 2",
      "RESULT": "sample string 3"
    }
  ],
  "UPLOAD_BASE64": [
    {
      "account_name": "sample string 1",
      "account_key": "sample string 2",
      "account_container": "sample string 3",
      "VIA_BASE64": "sample string 4",
      "VIA_FILE_NAME": "sample string 5"
    },
    {
      "account_name": "sample string 1",
      "account_key": "sample string 2",
      "account_container": "sample string 3",
      "VIA_BASE64": "sample string 4",
      "VIA_FILE_NAME": "sample string 5"
    }
  ],
  "UD_CREATED_BY": 1,
  "UD_MODE": "sample string 1",
  "UD_CP_ID": 1
}

application/xml, text/xml

Sample:
<UploadData xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/ZealitAPI.Models">
  <LR_CRC_UPLOAD>
    <LR_CRC_UPLOAD>
      <LR_BKG_COM_AMT>1.1</LR_BKG_COM_AMT>
      <LR_DEL_PAYOUT_AMT>1.1</LR_DEL_PAYOUT_AMT>
      <LR_DEL_TO_CP_ID>1</LR_DEL_TO_CP_ID>
      <LR_DIS_COM_AMT>1.1</LR_DIS_COM_AMT>
      <LR_ID>1</LR_ID>
      <LR_NUMBER>sample string 1</LR_NUMBER>
      <RESULT>sample string 3</RESULT>
      <STATUS>sample string 2</STATUS>
    </LR_CRC_UPLOAD>
    <LR_CRC_UPLOAD>
      <LR_BKG_COM_AMT>1.1</LR_BKG_COM_AMT>
      <LR_DEL_PAYOUT_AMT>1.1</LR_DEL_PAYOUT_AMT>
      <LR_DEL_TO_CP_ID>1</LR_DEL_TO_CP_ID>
      <LR_DIS_COM_AMT>1.1</LR_DIS_COM_AMT>
      <LR_ID>1</LR_ID>
      <LR_NUMBER>sample string 1</LR_NUMBER>
      <RESULT>sample string 3</RESULT>
      <STATUS>sample string 2</STATUS>
    </LR_CRC_UPLOAD>
  </LR_CRC_UPLOAD>
  <LR_REBATE_UPLOAD>
    <LR_REBATE_UPLOAD>
      <LR_ID>1</LR_ID>
      <LR_NUMBER>sample string 1</LR_NUMBER>
      <LR_REBATE_AMT>1.1</LR_REBATE_AMT>
      <RESULT>sample string 3</RESULT>
      <STATUS>sample string 2</STATUS>
    </LR_REBATE_UPLOAD>
    <LR_REBATE_UPLOAD>
      <LR_ID>1</LR_ID>
      <LR_NUMBER>sample string 1</LR_NUMBER>
      <LR_REBATE_AMT>1.1</LR_REBATE_AMT>
      <RESULT>sample string 3</RESULT>
      <STATUS>sample string 2</STATUS>
    </LR_REBATE_UPLOAD>
  </LR_REBATE_UPLOAD>
  <UD_CP_ID>1</UD_CP_ID>
  <UD_CREATED_BY>1</UD_CREATED_BY>
  <UD_MODE>sample string 1</UD_MODE>
  <UPLOAD_BASE64>
    <UPLOAD_BASE64>
      <VIA_BASE64>sample string 4</VIA_BASE64>
      <VIA_FILE_NAME>sample string 5</VIA_FILE_NAME>
      <account_container>sample string 3</account_container>
      <account_key>sample string 2</account_key>
      <account_name>sample string 1</account_name>
    </UPLOAD_BASE64>
    <UPLOAD_BASE64>
      <VIA_BASE64>sample string 4</VIA_BASE64>
      <VIA_FILE_NAME>sample string 5</VIA_FILE_NAME>
      <account_container>sample string 3</account_container>
      <account_key>sample string 2</account_key>
      <account_name>sample string 1</account_name>
    </UPLOAD_BASE64>
  </UPLOAD_BASE64>
</UploadData>

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.