POST api/Upload/UpdateSubmission/{id}/{objectid}

Request Information

URI Parameters

NameDescriptionTypeAdditional information
id

string

None.

objectid

string

None.

Body Parameters

UploadedFile
NameDescriptionTypeAdditional information
ErrorOccurred

boolean

None.

ImportLogId

globally unique identifier

None.

Message

string

None.

FileLength

string

None.

FileName

string

None.

TransactionCode

string

None.

EventId

string

None.

ImportType

integer

None.

IndividualCount

integer

None.

UserMappings

Collection of UserMappingEntry

None.

Request Formats

application/json, text/json

Sample:
{
  "ErrorOccurred": true,
  "ImportLogId": "d5d54c54-bf0e-4101-994b-238eeec45814",
  "Message": "sample string 3",
  "FileLength": "sample string 4",
  "FileName": "sample string 5",
  "TransactionCode": "sample string 6",
  "EventId": "sample string 7",
  "ImportType": 8,
  "IndividualCount": 9,
  "UserMappings": [
    {
      "ColumnHeader": "sample string 1",
      "ColumnMapping": 0,
      "Index": 2
    },
    {
      "ColumnHeader": "sample string 1",
      "ColumnMapping": 0,
      "Index": 2
    }
  ]
}

application/xml, text/xml

Sample:
<UploadedFile xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/STTI.WindowsService.Web">
  <ErrorOccurred>true</ErrorOccurred>
  <EventId>sample string 7</EventId>
  <FileLength>sample string 4</FileLength>
  <FileName>sample string 5</FileName>
  <ImportLogId>d5d54c54-bf0e-4101-994b-238eeec45814</ImportLogId>
  <ImportType>8</ImportType>
  <IndividualCount>9</IndividualCount>
  <Message>sample string 3</Message>
  <TransactionCode>sample string 6</TransactionCode>
  <UserMappings xmlns:d2p1="http://schemas.datacontract.org/2004/07/STTI.Individual.Import.Library">
    <d2p1:UserMappingEntry>
      <d2p1:ColumnHeader>sample string 1</d2p1:ColumnHeader>
      <d2p1:ColumnMapping>FirstName</d2p1:ColumnMapping>
      <d2p1:Index>2</d2p1:Index>
    </d2p1:UserMappingEntry>
    <d2p1:UserMappingEntry>
      <d2p1:ColumnHeader>sample string 1</d2p1:ColumnHeader>
      <d2p1:ColumnMapping>FirstName</d2p1:ColumnMapping>
      <d2p1:Index>2</d2p1:Index>
    </d2p1:UserMappingEntry>
  </UserMappings>
</UploadedFile>

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.