POST api/importLicenseOrders/bulkImport
Request Information
URI Parameters
None.
Body Parameters
BulkImportLicenseOrdersRequest| Name | Description | Type | Additional information |
|---|---|---|---|
| Description | string |
None. |
|
| Rows | Collection of BulkImportLicenseOrderModel |
None. |
Request Formats
application/json, text/json
Sample:
{
"Description": "sample string 1",
"Rows": [
{
"Action": "sample string 1",
"OwnerType": "sample string 2",
"OwnerIdentifier": "sample string 3",
"OwnerName": "sample string 4",
"TargetType": "sample string 5",
"TargetIdentifier": "sample string 6",
"TargetName": "sample string 7",
"StartDate": "sample string 8",
"EndDate": "sample string 9",
"Ean": "sample string 10",
"Quantity": 11,
"AccessType": "sample string 12",
"LicenseType": "sample string 13",
"OrderRef": "sample string 14",
"SubscriptionNumber": "sample string 15",
"OwnerAddressStreet": "sample string 16",
"OwnerAddressCity": "sample string 17",
"OwnerAddressZipCode": "sample string 18",
"OwnerContactEmail": "sample string 19",
"OwnerContactPhoneNumber": "sample string 20",
"OwnerContactPersonName": "sample string 21",
"LicenseContactEmail": "sample string 22",
"LicenseContactPhoneNumber": "sample string 23",
"LicenseContactPersonName": "sample string 24",
"AgreementNumber": "sample string 25",
"MunicipalityNumber": "sample string 26",
"MunicipalityAgreement": "sample string 27",
"AgreementStartDate": "sample string 28",
"AgreementEndDate": "sample string 29",
"NumberOfMonthInvoiced": "sample string 30",
"NumberOfMonthAgreement": "sample string 31",
"TotalAmount": 1.0,
"RemainingAmount": 1.0,
"MunicipalityName": "sample string 32",
"ContactNumber": "sample string 33",
"ActualAmount": 34.0,
"ContactName": "sample string 35",
"LineDiscount": 1.0,
"LineDiscountAmount": 1.0,
"Comment": "sample string 36"
},
{
"Action": "sample string 1",
"OwnerType": "sample string 2",
"OwnerIdentifier": "sample string 3",
"OwnerName": "sample string 4",
"TargetType": "sample string 5",
"TargetIdentifier": "sample string 6",
"TargetName": "sample string 7",
"StartDate": "sample string 8",
"EndDate": "sample string 9",
"Ean": "sample string 10",
"Quantity": 11,
"AccessType": "sample string 12",
"LicenseType": "sample string 13",
"OrderRef": "sample string 14",
"SubscriptionNumber": "sample string 15",
"OwnerAddressStreet": "sample string 16",
"OwnerAddressCity": "sample string 17",
"OwnerAddressZipCode": "sample string 18",
"OwnerContactEmail": "sample string 19",
"OwnerContactPhoneNumber": "sample string 20",
"OwnerContactPersonName": "sample string 21",
"LicenseContactEmail": "sample string 22",
"LicenseContactPhoneNumber": "sample string 23",
"LicenseContactPersonName": "sample string 24",
"AgreementNumber": "sample string 25",
"MunicipalityNumber": "sample string 26",
"MunicipalityAgreement": "sample string 27",
"AgreementStartDate": "sample string 28",
"AgreementEndDate": "sample string 29",
"NumberOfMonthInvoiced": "sample string 30",
"NumberOfMonthAgreement": "sample string 31",
"TotalAmount": 1.0,
"RemainingAmount": 1.0,
"MunicipalityName": "sample string 32",
"ContactNumber": "sample string 33",
"ActualAmount": 34.0,
"ContactName": "sample string 35",
"LineDiscount": 1.0,
"LineDiscountAmount": 1.0,
"Comment": "sample string 36"
}
]
}
application/xml, text/xml
Sample:
<BulkImportLicenseOrdersRequest xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/Alice.Dto.Requests.BulkRequests">
<Description>sample string 1</Description>
<Rows>
<BulkImportLicenseOrderModel>
<AccessType>sample string 12</AccessType>
<Action>sample string 1</Action>
<ActualAmount>34</ActualAmount>
<AgreementEndDate>sample string 29</AgreementEndDate>
<AgreementNumber>sample string 25</AgreementNumber>
<AgreementStartDate>sample string 28</AgreementStartDate>
<Comment>sample string 36</Comment>
<ContactName>sample string 35</ContactName>
<ContactNumber>sample string 33</ContactNumber>
<Ean>sample string 10</Ean>
<EndDate>sample string 9</EndDate>
<LicenseContactEmail>sample string 22</LicenseContactEmail>
<LicenseContactPersonName>sample string 24</LicenseContactPersonName>
<LicenseContactPhoneNumber>sample string 23</LicenseContactPhoneNumber>
<LicenseType>sample string 13</LicenseType>
<LineDiscount>1</LineDiscount>
<LineDiscountAmount>1</LineDiscountAmount>
<MunicipalityAgreement>sample string 27</MunicipalityAgreement>
<MunicipalityName>sample string 32</MunicipalityName>
<MunicipalityNumber>sample string 26</MunicipalityNumber>
<NumberOfMonthAgreement>sample string 31</NumberOfMonthAgreement>
<NumberOfMonthInvoiced>sample string 30</NumberOfMonthInvoiced>
<OrderRef>sample string 14</OrderRef>
<OwnerAddressCity>sample string 17</OwnerAddressCity>
<OwnerAddressStreet>sample string 16</OwnerAddressStreet>
<OwnerAddressZipCode>sample string 18</OwnerAddressZipCode>
<OwnerContactEmail>sample string 19</OwnerContactEmail>
<OwnerContactPersonName>sample string 21</OwnerContactPersonName>
<OwnerContactPhoneNumber>sample string 20</OwnerContactPhoneNumber>
<OwnerIdentifier>sample string 3</OwnerIdentifier>
<OwnerName>sample string 4</OwnerName>
<OwnerType>sample string 2</OwnerType>
<Quantity>11</Quantity>
<RemainingAmount>1</RemainingAmount>
<StartDate>sample string 8</StartDate>
<SubscriptionNumber>sample string 15</SubscriptionNumber>
<TargetIdentifier>sample string 6</TargetIdentifier>
<TargetName>sample string 7</TargetName>
<TargetType>sample string 5</TargetType>
<TotalAmount>1</TotalAmount>
</BulkImportLicenseOrderModel>
<BulkImportLicenseOrderModel>
<AccessType>sample string 12</AccessType>
<Action>sample string 1</Action>
<ActualAmount>34</ActualAmount>
<AgreementEndDate>sample string 29</AgreementEndDate>
<AgreementNumber>sample string 25</AgreementNumber>
<AgreementStartDate>sample string 28</AgreementStartDate>
<Comment>sample string 36</Comment>
<ContactName>sample string 35</ContactName>
<ContactNumber>sample string 33</ContactNumber>
<Ean>sample string 10</Ean>
<EndDate>sample string 9</EndDate>
<LicenseContactEmail>sample string 22</LicenseContactEmail>
<LicenseContactPersonName>sample string 24</LicenseContactPersonName>
<LicenseContactPhoneNumber>sample string 23</LicenseContactPhoneNumber>
<LicenseType>sample string 13</LicenseType>
<LineDiscount>1</LineDiscount>
<LineDiscountAmount>1</LineDiscountAmount>
<MunicipalityAgreement>sample string 27</MunicipalityAgreement>
<MunicipalityName>sample string 32</MunicipalityName>
<MunicipalityNumber>sample string 26</MunicipalityNumber>
<NumberOfMonthAgreement>sample string 31</NumberOfMonthAgreement>
<NumberOfMonthInvoiced>sample string 30</NumberOfMonthInvoiced>
<OrderRef>sample string 14</OrderRef>
<OwnerAddressCity>sample string 17</OwnerAddressCity>
<OwnerAddressStreet>sample string 16</OwnerAddressStreet>
<OwnerAddressZipCode>sample string 18</OwnerAddressZipCode>
<OwnerContactEmail>sample string 19</OwnerContactEmail>
<OwnerContactPersonName>sample string 21</OwnerContactPersonName>
<OwnerContactPhoneNumber>sample string 20</OwnerContactPhoneNumber>
<OwnerIdentifier>sample string 3</OwnerIdentifier>
<OwnerName>sample string 4</OwnerName>
<OwnerType>sample string 2</OwnerType>
<Quantity>11</Quantity>
<RemainingAmount>1</RemainingAmount>
<StartDate>sample string 8</StartDate>
<SubscriptionNumber>sample string 15</SubscriptionNumber>
<TargetIdentifier>sample string 6</TargetIdentifier>
<TargetName>sample string 7</TargetName>
<TargetType>sample string 5</TargetType>
<TotalAmount>1</TotalAmount>
</BulkImportLicenseOrderModel>
</Rows>
</BulkImportLicenseOrdersRequest>
application/x-www-form-urlencoded
Sample:
Sample not available.
Response Information
Resource Description
ApiResponse| Name | Description | Type | Additional information |
|---|---|---|---|
| Errors | Collection of Error |
None. |
|
| IsValid | boolean |
None. |
Response Formats
application/json, text/json
Sample:
{
"Errors": [
{
"PropertyName": "sample string 1",
"Message": "sample string 2"
},
{
"PropertyName": "sample string 1",
"Message": "sample string 2"
}
],
"IsValid": false
}
application/xml, text/xml
Sample:
<ApiResponse xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/Alice.Dto.Core">
<Errors>
<Error>
<Message>sample string 2</Message>
<PropertyName>sample string 1</PropertyName>
</Error>
<Error>
<Message>sample string 2</Message>
<PropertyName>sample string 1</PropertyName>
</Error>
</Errors>
</ApiResponse>