GET api/invoice/get-bsnagotiation/{invoiceId}
Request Information
URI Parameters
| Name | Description | Type | Additional information |
|---|---|---|---|
| invoiceId | integer |
Required |
Body Parameters
None.
Response Information
Resource Description
BuyerSellerInvoiceDTO| Name | Description | Type | Additional information |
|---|---|---|---|
| SellerInvocieDTO | Collection of SellerInvoiceDTO |
None. |
|
| BuyerInvocieDTO | Collection of SellerInvoiceDTO |
None. |
|
| NagotiationProductDTO | Collection of NagotiationProductDTO |
None. |
Response Formats
application/json, text/json
Sample:
{
"SellerInvocieDTO": [
{
"UserId": 1,
"UserName": "sample string 1",
"Phone1": "sample string 2",
"Price": 1.0,
"AdditionalCharges": 1.0,
"TotalInvoiceAmount": 1.0,
"Charges": 1.0,
"ChargeType": "sample string 3",
"InvoiceChargeType": "sample string 4",
"PreferedChargeType": "sample string 5",
"FixedPercentage": 6.0,
"AmountPerTransaction": 7.0,
"Amount": 8.0,
"ServiceChargeType": "sample string 9",
"SubscriptionType": "sample string 10",
"ValidupTo": "sample string 11"
},
{
"UserId": 1,
"UserName": "sample string 1",
"Phone1": "sample string 2",
"Price": 1.0,
"AdditionalCharges": 1.0,
"TotalInvoiceAmount": 1.0,
"Charges": 1.0,
"ChargeType": "sample string 3",
"InvoiceChargeType": "sample string 4",
"PreferedChargeType": "sample string 5",
"FixedPercentage": 6.0,
"AmountPerTransaction": 7.0,
"Amount": 8.0,
"ServiceChargeType": "sample string 9",
"SubscriptionType": "sample string 10",
"ValidupTo": "sample string 11"
}
],
"BuyerInvocieDTO": [
{
"UserId": 1,
"UserName": "sample string 1",
"Phone1": "sample string 2",
"Price": 1.0,
"AdditionalCharges": 1.0,
"TotalInvoiceAmount": 1.0,
"Charges": 1.0,
"ChargeType": "sample string 3",
"InvoiceChargeType": "sample string 4",
"PreferedChargeType": "sample string 5",
"FixedPercentage": 6.0,
"AmountPerTransaction": 7.0,
"Amount": 8.0,
"ServiceChargeType": "sample string 9",
"SubscriptionType": "sample string 10",
"ValidupTo": "sample string 11"
},
{
"UserId": 1,
"UserName": "sample string 1",
"Phone1": "sample string 2",
"Price": 1.0,
"AdditionalCharges": 1.0,
"TotalInvoiceAmount": 1.0,
"Charges": 1.0,
"ChargeType": "sample string 3",
"InvoiceChargeType": "sample string 4",
"PreferedChargeType": "sample string 5",
"FixedPercentage": 6.0,
"AmountPerTransaction": 7.0,
"Amount": 8.0,
"ServiceChargeType": "sample string 9",
"SubscriptionType": "sample string 10",
"ValidupTo": "sample string 11"
}
],
"NagotiationProductDTO": [
{
"Quantity": 1.0,
"Product": "sample string 1",
"StockEntryId": 2,
"Price": 1.0
},
{
"Quantity": 1.0,
"Product": "sample string 1",
"StockEntryId": 2,
"Price": 1.0
}
]
}
application/xml, text/xml
Sample:
<BuyerSellerInvoiceDTO xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/SUM.Prod.RS.Common.Components.DTO.Invoices">
<BuyerInvocieDTO>
<SellerInvoiceDTO>
<AdditionalCharges>1</AdditionalCharges>
<Amount>8</Amount>
<AmountPerTransaction>7</AmountPerTransaction>
<ChargeType>sample string 3</ChargeType>
<Charges>1</Charges>
<FixedPercentage>6</FixedPercentage>
<InvoiceChargeType>sample string 4</InvoiceChargeType>
<Phone1>sample string 2</Phone1>
<PreferedChargeType>sample string 5</PreferedChargeType>
<Price>1</Price>
<ServiceChargeType>sample string 9</ServiceChargeType>
<SubscriptionType>sample string 10</SubscriptionType>
<TotalInvoiceAmount>1</TotalInvoiceAmount>
<UserId>1</UserId>
<UserName>sample string 1</UserName>
<ValidupTo>sample string 11</ValidupTo>
</SellerInvoiceDTO>
<SellerInvoiceDTO>
<AdditionalCharges>1</AdditionalCharges>
<Amount>8</Amount>
<AmountPerTransaction>7</AmountPerTransaction>
<ChargeType>sample string 3</ChargeType>
<Charges>1</Charges>
<FixedPercentage>6</FixedPercentage>
<InvoiceChargeType>sample string 4</InvoiceChargeType>
<Phone1>sample string 2</Phone1>
<PreferedChargeType>sample string 5</PreferedChargeType>
<Price>1</Price>
<ServiceChargeType>sample string 9</ServiceChargeType>
<SubscriptionType>sample string 10</SubscriptionType>
<TotalInvoiceAmount>1</TotalInvoiceAmount>
<UserId>1</UserId>
<UserName>sample string 1</UserName>
<ValidupTo>sample string 11</ValidupTo>
</SellerInvoiceDTO>
</BuyerInvocieDTO>
<NagotiationProductDTO>
<NagotiationProductDTO>
<Price>1</Price>
<Product>sample string 1</Product>
<Quantity>1</Quantity>
<StockEntryId>2</StockEntryId>
</NagotiationProductDTO>
<NagotiationProductDTO>
<Price>1</Price>
<Product>sample string 1</Product>
<Quantity>1</Quantity>
<StockEntryId>2</StockEntryId>
</NagotiationProductDTO>
</NagotiationProductDTO>
<SellerInvocieDTO>
<SellerInvoiceDTO>
<AdditionalCharges>1</AdditionalCharges>
<Amount>8</Amount>
<AmountPerTransaction>7</AmountPerTransaction>
<ChargeType>sample string 3</ChargeType>
<Charges>1</Charges>
<FixedPercentage>6</FixedPercentage>
<InvoiceChargeType>sample string 4</InvoiceChargeType>
<Phone1>sample string 2</Phone1>
<PreferedChargeType>sample string 5</PreferedChargeType>
<Price>1</Price>
<ServiceChargeType>sample string 9</ServiceChargeType>
<SubscriptionType>sample string 10</SubscriptionType>
<TotalInvoiceAmount>1</TotalInvoiceAmount>
<UserId>1</UserId>
<UserName>sample string 1</UserName>
<ValidupTo>sample string 11</ValidupTo>
</SellerInvoiceDTO>
<SellerInvoiceDTO>
<AdditionalCharges>1</AdditionalCharges>
<Amount>8</Amount>
<AmountPerTransaction>7</AmountPerTransaction>
<ChargeType>sample string 3</ChargeType>
<Charges>1</Charges>
<FixedPercentage>6</FixedPercentage>
<InvoiceChargeType>sample string 4</InvoiceChargeType>
<Phone1>sample string 2</Phone1>
<PreferedChargeType>sample string 5</PreferedChargeType>
<Price>1</Price>
<ServiceChargeType>sample string 9</ServiceChargeType>
<SubscriptionType>sample string 10</SubscriptionType>
<TotalInvoiceAmount>1</TotalInvoiceAmount>
<UserId>1</UserId>
<UserName>sample string 1</UserName>
<ValidupTo>sample string 11</ValidupTo>
</SellerInvoiceDTO>
</SellerInvocieDTO>
</BuyerSellerInvoiceDTO>