POST api/Export/ExportFileField

Request Information

URI Parameters

None.

Body Parameters

Collection of MPW.DataAccess.Models.GenericExportFileFieldModel
NameDescriptionTypeAdditional information
Id

integer

None.

Description

string

None.

ConstantValue

string

None.

Mapped

boolean

None.

ExportMappingList

Collection of MPW.Entities.DataAccess.ACC_ExportFileMapping

None.

Request Formats

application/json, text/json

Sample:
[
  {
    "Id": 1,
    "Description": "sample string 2",
    "ConstantValue": "sample string 3",
    "Mapped": true,
    "ExportMappingList": [
      {
        "ID": 1,
        "SourceValue": "sample string 2",
        "MappedValue": "sample string 3",
        "ExportFileFieldID": 1,
        "ACC_ExportFileField": {
          "id": 1,
          "ExportFileID": 2,
          "Sequence": 3,
          "RecordType": 1,
          "Description": "sample string 4",
          "Start": 1,
          "End": 1,
          "MaxLength": 1,
          "ExportFileSourceID": 1,
          "ConstantValue": "sample string 5",
          "ConstantSelected": true,
          "Mapped": true,
          "ExportFileDataTypeId": 1,
          "ACC_Ref_ExportFileDataType": {
            "Id": 1,
            "Description": "sample string 2",
            "ACC_ExportFileField": [],
            "ACC_ExportFileSource": [
              {
                "ID": 1,
                "ExportType": 2,
                "Description": "sample string 3",
                "Mappable": true,
                "ExportFileDataTypeId": 1
              },
              {
                "ID": 1,
                "ExportType": 2,
                "Description": "sample string 3",
                "Mappable": true,
                "ExportFileDataTypeId": 1
              }
            ]
          },
          "ACC_ExportFileMapping": []
        }
      },
      {
        "ID": 1,
        "SourceValue": "sample string 2",
        "MappedValue": "sample string 3",
        "ExportFileFieldID": 1,
        "ACC_ExportFileField": {
          "id": 1,
          "ExportFileID": 2,
          "Sequence": 3,
          "RecordType": 1,
          "Description": "sample string 4",
          "Start": 1,
          "End": 1,
          "MaxLength": 1,
          "ExportFileSourceID": 1,
          "ConstantValue": "sample string 5",
          "ConstantSelected": true,
          "Mapped": true,
          "ExportFileDataTypeId": 1,
          "ACC_Ref_ExportFileDataType": {
            "Id": 1,
            "Description": "sample string 2",
            "ACC_ExportFileField": [],
            "ACC_ExportFileSource": [
              {
                "ID": 1,
                "ExportType": 2,
                "Description": "sample string 3",
                "Mappable": true,
                "ExportFileDataTypeId": 1
              },
              {
                "ID": 1,
                "ExportType": 2,
                "Description": "sample string 3",
                "Mappable": true,
                "ExportFileDataTypeId": 1
              }
            ]
          },
          "ACC_ExportFileMapping": []
        }
      }
    ]
  },
  {
    "Id": 1,
    "Description": "sample string 2",
    "ConstantValue": "sample string 3",
    "Mapped": true,
    "ExportMappingList": [
      {
        "ID": 1,
        "SourceValue": "sample string 2",
        "MappedValue": "sample string 3",
        "ExportFileFieldID": 1,
        "ACC_ExportFileField": {
          "id": 1,
          "ExportFileID": 2,
          "Sequence": 3,
          "RecordType": 1,
          "Description": "sample string 4",
          "Start": 1,
          "End": 1,
          "MaxLength": 1,
          "ExportFileSourceID": 1,
          "ConstantValue": "sample string 5",
          "ConstantSelected": true,
          "Mapped": true,
          "ExportFileDataTypeId": 1,
          "ACC_Ref_ExportFileDataType": {
            "Id": 1,
            "Description": "sample string 2",
            "ACC_ExportFileField": [],
            "ACC_ExportFileSource": [
              {
                "ID": 1,
                "ExportType": 2,
                "Description": "sample string 3",
                "Mappable": true,
                "ExportFileDataTypeId": 1
              },
              {
                "ID": 1,
                "ExportType": 2,
                "Description": "sample string 3",
                "Mappable": true,
                "ExportFileDataTypeId": 1
              }
            ]
          },
          "ACC_ExportFileMapping": []
        }
      },
      {
        "ID": 1,
        "SourceValue": "sample string 2",
        "MappedValue": "sample string 3",
        "ExportFileFieldID": 1,
        "ACC_ExportFileField": {
          "id": 1,
          "ExportFileID": 2,
          "Sequence": 3,
          "RecordType": 1,
          "Description": "sample string 4",
          "Start": 1,
          "End": 1,
          "MaxLength": 1,
          "ExportFileSourceID": 1,
          "ConstantValue": "sample string 5",
          "ConstantSelected": true,
          "Mapped": true,
          "ExportFileDataTypeId": 1,
          "ACC_Ref_ExportFileDataType": {
            "Id": 1,
            "Description": "sample string 2",
            "ACC_ExportFileField": [],
            "ACC_ExportFileSource": [
              {
                "ID": 1,
                "ExportType": 2,
                "Description": "sample string 3",
                "Mappable": true,
                "ExportFileDataTypeId": 1
              },
              {
                "ID": 1,
                "ExportType": 2,
                "Description": "sample string 3",
                "Mappable": true,
                "ExportFileDataTypeId": 1
              }
            ]
          },
          "ACC_ExportFileMapping": []
        }
      }
    ]
  }
]

application/x-www-form-urlencoded

Sample:

Sample not available.

Response Information

Resource Description

System.Net.Http.HttpResponseMessage
NameDescriptionTypeAdditional information
Version

System.Version

None.

Content

System.Net.Http.HttpContent

None.

StatusCode

System.Net.HttpStatusCode

None.

ReasonPhrase

string

None.

Headers

Collection of Object

None.

RequestMessage

System.Net.Http.HttpRequestMessage

None.

IsSuccessStatusCode

boolean

None.