POST Api/SAPCustomer/AddUpdateSAPCustomer

Request Information

URI Parameters

None.

Body Parameters

NAServicesSAPCustomerModel
NameDescriptionTypeAdditional information
Id

integer

None.

SAPId

integer

None.

CustomerName

string

None.

Address1

string

None.

City

string

None.

Province

string

None.

ProvinceId

string

None.

PostalCode

string

None.

Country

string

None.

Phone

string

None.

Fax

string

None.

IsoCountryCode

string

None.

IsActive

boolean

None.

ErrorId

integer

None.

Notes

string

None.

ModifiedDate

date

None.

ConfigDateTimeFormat

string

None.

ModifiedBy

string

None.

ModifiedId

integer

None.

Request Formats

application/json, text/json

Sample:
{
  "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:35:28.1710548+00:00",
  "ConfigDateTimeFormat": "sample string 17",
  "ModifiedBy": "sample string 18",
  "ModifiedId": 1
}

application/xml, text/xml

Sample:
<NAServicesSAPCustomerModel xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/Qorus.TasQ.ClassModels.NAServices">
  <Address1>sample string 4</Address1>
  <City>sample string 5</City>
  <ConfigDateTimeFormat>sample string 17</ConfigDateTimeFormat>
  <Country>sample string 9</Country>
  <CustomerName>sample string 3</CustomerName>
  <ErrorId>14</ErrorId>
  <Fax>sample string 11</Fax>
  <Id>1</Id>
  <IsActive>true</IsActive>
  <IsoCountryCode>sample string 12</IsoCountryCode>
  <ModifiedBy>sample string 18</ModifiedBy>
  <ModifiedDate>2025-01-08T18:35:28.1710548+00:00</ModifiedDate>
  <ModifiedId>1</ModifiedId>
  <Notes>sample string 15</Notes>
  <Phone>sample string 10</Phone>
  <PostalCode>sample string 8</PostalCode>
  <Province>sample string 6</Province>
  <ProvinceId>sample string 7</ProvinceId>
  <SAPId>2</SAPId>
</NAServicesSAPCustomerModel>

application/x-www-form-urlencoded

Sample:

Sample not available.

Response Information

Resource Description

IHttpActionResult

None.

Response Formats

application/json, text/json, application/xml, text/xml

Sample:

Sample not available.