POST api/V3/InvoiceDetails/UploadEInvoiceDetails

Create Invoice Details on the basis of Attendance Id

Request Information

URI Parameters

None.

Body Parameters

Collection of V3.EInvoicingDetails
NameDescriptionTypeAdditional information
AttendanceId

Attendence id of the event

integer

None.

SalesOrderNumberERP

ERP id (Sales Order Number) created in SAP

string

String length: inclusive between 0 and 100

DeliveryNoteNumber

Delivery Note Posted in SAP against Sales Order Number

string

String length: inclusive between 0 and 100

InvoiceNumberERP

ERP ID (invoice number) generated in SAP against the Order

string

String length: inclusive between 0 and 100

EInvoiceUniqueNumber1

First Unique Number generated against the Invoice Number

string

String length: inclusive between 0 and 100

EInvoiceUniqueNumber2

Second Unique Number generated against the invoice Number

string

String length: inclusive between 0 and 100

EInvoiceQRCodeString

String of the QR code generated against Invoice Number

string

None.

Request Formats

application/json, text/json

Sample:
[
  {
    "AttendanceId": 1,
    "SalesOrderNumberERP": "sample string 2",
    "DeliveryNoteNumber": "sample string 3",
    "InvoiceNumberERP": "sample string 4",
    "EInvoiceUniqueNumber1": "sample string 5",
    "EInvoiceUniqueNumber2": "sample string 6",
    "EInvoiceQRCodeString": "sample string 7"
  },
  {
    "AttendanceId": 1,
    "SalesOrderNumberERP": "sample string 2",
    "DeliveryNoteNumber": "sample string 3",
    "InvoiceNumberERP": "sample string 4",
    "EInvoiceUniqueNumber1": "sample string 5",
    "EInvoiceUniqueNumber2": "sample string 6",
    "EInvoiceQRCodeString": "sample string 7"
  }
]

application/xml, text/xml

Sample:
<ArrayOfEInvoicingDetails xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/ExternalApis.V3.Models">
  <EInvoicingDetails>
    <AttendanceId>1</AttendanceId>
    <DeliveryNoteNumber>sample string 3</DeliveryNoteNumber>
    <EInvoiceQRCodeString>sample string 7</EInvoiceQRCodeString>
    <EInvoiceUniqueNumber1>sample string 5</EInvoiceUniqueNumber1>
    <EInvoiceUniqueNumber2>sample string 6</EInvoiceUniqueNumber2>
    <InvoiceNumberERP>sample string 4</InvoiceNumberERP>
    <SalesOrderNumberERP>sample string 2</SalesOrderNumberERP>
  </EInvoicingDetails>
  <EInvoicingDetails>
    <AttendanceId>1</AttendanceId>
    <DeliveryNoteNumber>sample string 3</DeliveryNoteNumber>
    <EInvoiceQRCodeString>sample string 7</EInvoiceQRCodeString>
    <EInvoiceUniqueNumber1>sample string 5</EInvoiceUniqueNumber1>
    <EInvoiceUniqueNumber2>sample string 6</EInvoiceUniqueNumber2>
    <InvoiceNumberERP>sample string 4</InvoiceNumberERP>
    <SalesOrderNumberERP>sample string 2</SalesOrderNumberERP>
  </EInvoicingDetails>
</ArrayOfEInvoicingDetails>

Response Information

Resource Description

DetailedApiResponse
NameDescriptionTypeAdditional information
Success

boolean

None.

Message

Message Indicating the Overall Response Summary of the Requested API

string

None.

ResponseList

List of Errors

Collection of DetailedApiResponseMessage

None.

ResponseStatusCount

Summary containing Number of SuccessFull And Failed Tasks

Object

None.

Response

Enum Indicating the Response status

ResponseStatus

None.

Response Formats

application/json, text/json

Sample:
{
  "Success": true,
  "Message": "sample string 2",
  "ResponseList": [
    {
      "ERPId": "sample string 1",
      "DistributorErpId": "sample string 2",
      "RetailerErpId": "sample string 3",
      "InvoiceNumber": "sample string 4",
      "Message": "sample string 5",
      "ResponseStatus": "Failure",
      "GUID": "sample string 6",
      "ProductErpId": "sample string 7",
      "ResponseStatus1": true
    },
    {
      "ERPId": "sample string 1",
      "DistributorErpId": "sample string 2",
      "RetailerErpId": "sample string 3",
      "InvoiceNumber": "sample string 4",
      "Message": "sample string 5",
      "ResponseStatus": "Failure",
      "GUID": "sample string 6",
      "ProductErpId": "sample string 7",
      "ResponseStatus1": true
    }
  ],
  "ResponseStatusCount": {},
  "Response": "Failure"
}

application/xml, text/xml

Sample:
<DetailedApiResponse xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/ExternalApis.Models.Common">
  <Message>sample string 2</Message>
  <Response>Failure</Response>
  <ResponseList>
    <DetailedApiResponseMessage>
      <DistributorErpId>sample string 2</DistributorErpId>
      <ERPId>sample string 1</ERPId>
      <GUID>sample string 6</GUID>
      <InvoiceNumber>sample string 4</InvoiceNumber>
      <Message>sample string 5</Message>
      <ProductErpId>sample string 7</ProductErpId>
      <ResponseStatus>Failure</ResponseStatus>
      <ResponseStatus1>true</ResponseStatus1>
      <RetailerErpId>sample string 3</RetailerErpId>
    </DetailedApiResponseMessage>
    <DetailedApiResponseMessage>
      <DistributorErpId>sample string 2</DistributorErpId>
      <ERPId>sample string 1</ERPId>
      <GUID>sample string 6</GUID>
      <InvoiceNumber>sample string 4</InvoiceNumber>
      <Message>sample string 5</Message>
      <ProductErpId>sample string 7</ProductErpId>
      <ResponseStatus>Failure</ResponseStatus>
      <ResponseStatus1>true</ResponseStatus1>
      <RetailerErpId>sample string 3</RetailerErpId>
    </DetailedApiResponseMessage>
  </ResponseList>
  <ResponseStatusCount />
  <Success>true</Success>
</DetailedApiResponse>