POST api/Submission/DeleteInvoiceImage

Delete an image from an invoice on an in-progress submission.

Request Information

URI Parameters

None.

Body Parameters

Invoice file object to delete.

InvoiceFileViewModel
NameDescriptionTypeAdditional information
FileName

string

None.

DataURL

string

None.

SubmissionID

globally unique identifier

None.

Request Formats

application/json, text/json

Sample:
{
  "FileName": "sample string 1",
  "DataURL": "sample string 2",
  "SubmissionID": "0a41ad5d-a79e-4d51-b2a6-8cf9c3fc0c3b"
}

application/xml, text/xml

Sample:
<InvoiceFileViewModel xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/SubmissionAPI.Models">
  <DataURL>sample string 2</DataURL>
  <FileName>sample string 1</FileName>
  <SubmissionID>0a41ad5d-a79e-4d51-b2a6-8cf9c3fc0c3b</SubmissionID>
</InvoiceFileViewModel>

application/x-www-form-urlencoded

Sample:

Sample not available.

Response Information

Resource Description

A response model indicating success or failure and a list of errors as applicable.

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.