POST Api/AccountExec/ValidateAccountExecutiveFileData

Request Information

URI Parameters

None.

Body Parameters

UploadAccountExecutiveDataRequest
NameDescriptionTypeAdditional information
UploadType

UploadType

None.

AccountExecData

Collection of AccountExecExcel

None.

BusinessUnit

string

None.

Request Formats

application/json, text/json

Sample:
{
  "UploadType": 0,
  "AccountExecData": [
    {
      "ExecId": "sample string 1",
      "ExecName": "sample string 2",
      "Manager": "sample string 3",
      "Segment": "sample string 4",
      "BusinessSegments": [
        "sample string 4"
      ],
      "IsActive": true,
      "Notes": "sample string 6",
      "Row": 7
    },
    {
      "ExecId": "sample string 1",
      "ExecName": "sample string 2",
      "Manager": "sample string 3",
      "Segment": "sample string 4",
      "BusinessSegments": [
        "sample string 4"
      ],
      "IsActive": true,
      "Notes": "sample string 6",
      "Row": 7
    }
  ],
  "BusinessUnit": "sample string 1"
}

application/xml, text/xml

Sample:
<UploadAccountExecutiveDataRequest xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/Qorus.TasQ.ClassModels.NAServices.Request">
  <AccountExecData xmlns:d2p1="http://schemas.datacontract.org/2004/07/Qorus.TasQ.ClassModels.ExcelImportModels.NAServices">
    <d2p1:AccountExecExcel>
      <Row xmlns="http://schemas.datacontract.org/2004/07/Qorus.TasQ.ClassModels.ExcelImportModels">7</Row>
      <d2p1:BusinessSegments xmlns:d4p1="http://schemas.microsoft.com/2003/10/Serialization/Arrays">
        <d4p1:string>sample string 4</d4p1:string>
      </d2p1:BusinessSegments>
      <d2p1:ExecId>sample string 1</d2p1:ExecId>
      <d2p1:ExecName>sample string 2</d2p1:ExecName>
      <d2p1:IsActive>true</d2p1:IsActive>
      <d2p1:Manager>sample string 3</d2p1:Manager>
      <d2p1:Notes>sample string 6</d2p1:Notes>
      <d2p1:Segment>sample string 4</d2p1:Segment>
    </d2p1:AccountExecExcel>
    <d2p1:AccountExecExcel>
      <Row xmlns="http://schemas.datacontract.org/2004/07/Qorus.TasQ.ClassModels.ExcelImportModels">7</Row>
      <d2p1:BusinessSegments xmlns:d4p1="http://schemas.microsoft.com/2003/10/Serialization/Arrays">
        <d4p1:string>sample string 4</d4p1:string>
      </d2p1:BusinessSegments>
      <d2p1:ExecId>sample string 1</d2p1:ExecId>
      <d2p1:ExecName>sample string 2</d2p1:ExecName>
      <d2p1:IsActive>true</d2p1:IsActive>
      <d2p1:Manager>sample string 3</d2p1:Manager>
      <d2p1:Notes>sample string 6</d2p1:Notes>
      <d2p1:Segment>sample string 4</d2p1:Segment>
    </d2p1:AccountExecExcel>
  </AccountExecData>
  <BusinessUnit>sample string 1</BusinessUnit>
  <UploadType>AppendInExisting</UploadType>
</UploadAccountExecutiveDataRequest>

application/x-www-form-urlencoded

Sample:

Sample not available.

Response Information

Resource Description

IHttpActionResult

None.

Response Formats

application/json, text/json, application/xml, text/xml

Sample:

Sample not available.