POST api/PSPIntraRegionalBilateral/UploadFile

Request Information

URI Parameters

None.

Body Parameters

None.

Response Information

Resource Description

UploadResult
NameDescriptionTypeAdditional information
TotalRowUploaded

integer

None.

SuccessRowUploaded

integer

None.

FailureRowUploaded

integer

None.

Errors

Collection of string

None.

SheetNames

Collection of string

None.

Response Formats

application/json, text/json

Sample:
{
  "TotalRowUploaded": 1,
  "SuccessRowUploaded": 2,
  "FailureRowUploaded": 3,
  "Errors": [
    "sample string 1",
    "sample string 2"
  ],
  "SheetNames": [
    "sample string 1",
    "sample string 2"
  ]
}

application/xml, text/xml

Sample:
<UploadResult xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/AMS.ERPC.API.DAL.Model.ViewModel">
  <Errors xmlns:d2p1="http://schemas.microsoft.com/2003/10/Serialization/Arrays">
    <d2p1:string>sample string 1</d2p1:string>
    <d2p1:string>sample string 2</d2p1:string>
  </Errors>
  <FailureRowUploaded>3</FailureRowUploaded>
  <SheetNames xmlns:d2p1="http://schemas.microsoft.com/2003/10/Serialization/Arrays">
    <d2p1:string>sample string 1</d2p1:string>
    <d2p1:string>sample string 2</d2p1:string>
  </SheetNames>
  <SuccessRowUploaded>2</SuccessRowUploaded>
  <TotalRowUploaded>1</TotalRowUploaded>
</UploadResult>