POST Api/SAPCustomer/AddSAPCustomerFileData
Request Information
URI Parameters
None.
Body Parameters
UploadSAPCustomerDataRequestName | Description | Type | Additional information |
---|---|---|---|
UploadType | UploadType |
None. |
|
SAPCustomerData | Collection of NAServicesSAPCustomerModel |
None. |
Request Formats
application/json, text/json
Sample:
{ "UploadType": 0, "SAPCustomerData": [ { "Id": 1, "SAPId": 2, "CustomerName": "sample string 3", "Address1": "sample string 4", "City": "sample string 5", "Province": "sample string 6", "ProvinceId": "sample string 7", "PostalCode": "sample string 8", "Country": "sample string 9", "Phone": "sample string 10", "Fax": "sample string 11", "IsoCountryCode": "sample string 12", "IsActive": true, "ErrorId": 14, "Notes": "sample string 15", "ModifiedDate": "2025-01-08T18:48:00.8885853+00:00", "ConfigDateTimeFormat": "sample string 17", "ModifiedBy": "sample string 18", "ModifiedId": 1 }, { "Id": 1, "SAPId": 2, "CustomerName": "sample string 3", "Address1": "sample string 4", "City": "sample string 5", "Province": "sample string 6", "ProvinceId": "sample string 7", "PostalCode": "sample string 8", "Country": "sample string 9", "Phone": "sample string 10", "Fax": "sample string 11", "IsoCountryCode": "sample string 12", "IsActive": true, "ErrorId": 14, "Notes": "sample string 15", "ModifiedDate": "2025-01-08T18:48:00.8885853+00:00", "ConfigDateTimeFormat": "sample string 17", "ModifiedBy": "sample string 18", "ModifiedId": 1 } ] }
application/xml, text/xml
Sample:
<UploadSAPCustomerDataRequest xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/Qorus.TasQ.ClassModels.NAServices.Request"> <SAPCustomerData xmlns:d2p1="http://schemas.datacontract.org/2004/07/Qorus.TasQ.ClassModels.NAServices"> <d2p1:NAServicesSAPCustomerModel> <d2p1:Address1>sample string 4</d2p1:Address1> <d2p1:City>sample string 5</d2p1:City> <d2p1:ConfigDateTimeFormat>sample string 17</d2p1:ConfigDateTimeFormat> <d2p1:Country>sample string 9</d2p1:Country> <d2p1:CustomerName>sample string 3</d2p1:CustomerName> <d2p1:ErrorId>14</d2p1:ErrorId> <d2p1:Fax>sample string 11</d2p1:Fax> <d2p1:Id>1</d2p1:Id> <d2p1:IsActive>true</d2p1:IsActive> <d2p1:IsoCountryCode>sample string 12</d2p1:IsoCountryCode> <d2p1:ModifiedBy>sample string 18</d2p1:ModifiedBy> <d2p1:ModifiedDate>2025-01-08T18:48:00.8885853+00:00</d2p1:ModifiedDate> <d2p1:ModifiedId>1</d2p1:ModifiedId> <d2p1:Notes>sample string 15</d2p1:Notes> <d2p1:Phone>sample string 10</d2p1:Phone> <d2p1:PostalCode>sample string 8</d2p1:PostalCode> <d2p1:Province>sample string 6</d2p1:Province> <d2p1:ProvinceId>sample string 7</d2p1:ProvinceId> <d2p1:SAPId>2</d2p1:SAPId> </d2p1:NAServicesSAPCustomerModel> <d2p1:NAServicesSAPCustomerModel> <d2p1:Address1>sample string 4</d2p1:Address1> <d2p1:City>sample string 5</d2p1:City> <d2p1:ConfigDateTimeFormat>sample string 17</d2p1:ConfigDateTimeFormat> <d2p1:Country>sample string 9</d2p1:Country> <d2p1:CustomerName>sample string 3</d2p1:CustomerName> <d2p1:ErrorId>14</d2p1:ErrorId> <d2p1:Fax>sample string 11</d2p1:Fax> <d2p1:Id>1</d2p1:Id> <d2p1:IsActive>true</d2p1:IsActive> <d2p1:IsoCountryCode>sample string 12</d2p1:IsoCountryCode> <d2p1:ModifiedBy>sample string 18</d2p1:ModifiedBy> <d2p1:ModifiedDate>2025-01-08T18:48:00.8885853+00:00</d2p1:ModifiedDate> <d2p1:ModifiedId>1</d2p1:ModifiedId> <d2p1:Notes>sample string 15</d2p1:Notes> <d2p1:Phone>sample string 10</d2p1:Phone> <d2p1:PostalCode>sample string 8</d2p1:PostalCode> <d2p1:Province>sample string 6</d2p1:Province> <d2p1:ProvinceId>sample string 7</d2p1:ProvinceId> <d2p1:SAPId>2</d2p1:SAPId> </d2p1:NAServicesSAPCustomerModel> </SAPCustomerData> <UploadType>AppendInExisting</UploadType> </UploadSAPCustomerDataRequest>
application/x-www-form-urlencoded
Sample:
Sample not available.
Response Information
Resource Description
IHttpActionResultNone.
Response Formats
application/json, text/json, application/xml, text/xml
Sample:
Sample not available.