POST api/import/goneaways/{FileKey}

Request Information

URI Parameters

NameDescriptionTypeAdditional information
FileKey

string

Required

Body Parameters

None.

Response Information

Resource Description

ImportResult
NameDescriptionTypeAdditional information
ImportName

string

None.

Summary

string

None.

Errors

Collection of Exception

None.

ImportCompleted

boolean

None.

returnFileDownloadPath

string

None.

Response Formats

application/json, text/json

Sample:
{
  "ImportName": "sample string 1",
  "Summary": "sample string 2",
  "Errors": [
    {
      "ClassName": "System.Exception",
      "Message": null,
      "Data": null,
      "InnerException": null,
      "HelpURL": "sample string 1",
      "StackTraceString": null,
      "RemoteStackTraceString": null,
      "RemoteStackIndex": 0,
      "ExceptionMethod": null,
      "HResult": 3,
      "Source": "sample string 2",
      "WatsonBuckets": null
    },
    {
      "ClassName": "System.Exception",
      "Message": null,
      "Data": null,
      "InnerException": null,
      "HelpURL": "sample string 1",
      "StackTraceString": null,
      "RemoteStackTraceString": null,
      "RemoteStackIndex": 0,
      "ExceptionMethod": null,
      "HResult": 3,
      "Source": "sample string 2",
      "WatsonBuckets": null
    }
  ],
  "ImportCompleted": true,
  "returnFileDownloadPath": "sample string 4"
}

application/xml

Sample:

An exception has occurred while using the formatter 'XmlMediaTypeFormatter' to generate sample for media type 'application/xml'. Exception message: Object graph for type 'System.Data.Linq.EntitySet`1[[TaxRebate.TaxRefunds.Data.Binding, TaxRebate.TaxRefunds, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null]]' contains cycles and cannot be serialized if reference tracking is disabled.

text/xml

Sample:

An exception has occurred while using the formatter 'XmlMediaTypeFormatter' to generate sample for media type 'text/xml'. Exception message: Object graph for type 'System.Data.Linq.EntitySet`1[[TaxRebate.TaxRefunds.Data.Binding, TaxRebate.TaxRefunds, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null]]' contains cycles and cannot be serialized if reference tracking is disabled.