POST api/Accounts
Request Information
URI Parameters
None.
Body Parameters
Collection of AccountName | Description | Type | Additional information |
---|---|---|---|
SalesForce_Id | string |
None. |
|
Name | string |
None. |
|
BP_Code__c | string |
None. |
|
Group_Name__c | string |
None. |
|
Payment_Terms_Code__c | string |
None. |
|
Account_Balance__c | decimal number |
None. |
|
POS_Warehouse_Code__c | string |
None. |
|
Standalone_Customer__c | boolean |
None. |
|
Phone | string |
None. |
|
Fax | string |
None. |
|
string |
None. |
||
Website | string |
None. |
|
AnnualRevenue | string |
None. |
|
BillingStreet | string |
None. |
|
BillingCity | string |
None. |
|
BillingState | string |
None. |
|
BillingPostalCode | string |
None. |
|
BillingCountry | string |
None. |
Request Formats
application/json, text/json
Sample:
[ { "SalesForce_Id": "sample string 1", "Name": "sample string 2", "BP_Code__c": "sample string 3", "Group_Name__c": "sample string 4", "Payment_Terms_Code__c": "sample string 5", "Account_Balance__c": 6.1, "POS_Warehouse_Code__c": "sample string 7", "Standalone_Customer__c": true, "Phone": "sample string 9", "Fax": "sample string 10", "Email": "sample string 11", "Website": "sample string 12", "AnnualRevenue": "sample string 13", "BillingStreet": "sample string 14", "BillingCity": "sample string 15", "BillingState": "sample string 16", "BillingPostalCode": "sample string 17", "BillingCountry": "sample string 18" }, { "SalesForce_Id": "sample string 1", "Name": "sample string 2", "BP_Code__c": "sample string 3", "Group_Name__c": "sample string 4", "Payment_Terms_Code__c": "sample string 5", "Account_Balance__c": 6.1, "POS_Warehouse_Code__c": "sample string 7", "Standalone_Customer__c": true, "Phone": "sample string 9", "Fax": "sample string 10", "Email": "sample string 11", "Website": "sample string 12", "AnnualRevenue": "sample string 13", "BillingStreet": "sample string 14", "BillingCity": "sample string 15", "BillingState": "sample string 16", "BillingPostalCode": "sample string 17", "BillingCountry": "sample string 18" } ]
application/xml, text/xml
Sample:
<ArrayOfAccount xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/SalesforceSAPAPI.Models"> <Account> <Account_Balance__c>6.1</Account_Balance__c> <AnnualRevenue>sample string 13</AnnualRevenue> <BP_Code__c>sample string 3</BP_Code__c> <BillingCity>sample string 15</BillingCity> <BillingCountry>sample string 18</BillingCountry> <BillingPostalCode>sample string 17</BillingPostalCode> <BillingState>sample string 16</BillingState> <BillingStreet>sample string 14</BillingStreet> <Email>sample string 11</Email> <Fax>sample string 10</Fax> <Group_Name__c>sample string 4</Group_Name__c> <Name>sample string 2</Name> <POS_Warehouse_Code__c>sample string 7</POS_Warehouse_Code__c> <Payment_Terms_Code__c>sample string 5</Payment_Terms_Code__c> <Phone>sample string 9</Phone> <SalesForce_Id>sample string 1</SalesForce_Id> <Standalone_Customer__c>true</Standalone_Customer__c> <Website>sample string 12</Website> </Account> <Account> <Account_Balance__c>6.1</Account_Balance__c> <AnnualRevenue>sample string 13</AnnualRevenue> <BP_Code__c>sample string 3</BP_Code__c> <BillingCity>sample string 15</BillingCity> <BillingCountry>sample string 18</BillingCountry> <BillingPostalCode>sample string 17</BillingPostalCode> <BillingState>sample string 16</BillingState> <BillingStreet>sample string 14</BillingStreet> <Email>sample string 11</Email> <Fax>sample string 10</Fax> <Group_Name__c>sample string 4</Group_Name__c> <Name>sample string 2</Name> <POS_Warehouse_Code__c>sample string 7</POS_Warehouse_Code__c> <Payment_Terms_Code__c>sample string 5</Payment_Terms_Code__c> <Phone>sample string 9</Phone> <SalesForce_Id>sample string 1</SalesForce_Id> <Standalone_Customer__c>true</Standalone_Customer__c> <Website>sample string 12</Website> </Account> </ArrayOfAccount>
application/x-www-form-urlencoded
Sample:
Sample not available.
Response Information
Resource Description
AccountName | Description | Type | Additional information |
---|---|---|---|
SalesForce_Id | string |
None. |
|
Name | string |
None. |
|
BP_Code__c | string |
None. |
|
Group_Name__c | string |
None. |
|
Payment_Terms_Code__c | string |
None. |
|
Account_Balance__c | decimal number |
None. |
|
POS_Warehouse_Code__c | string |
None. |
|
Standalone_Customer__c | boolean |
None. |
|
Phone | string |
None. |
|
Fax | string |
None. |
|
string |
None. |
||
Website | string |
None. |
|
AnnualRevenue | string |
None. |
|
BillingStreet | string |
None. |
|
BillingCity | string |
None. |
|
BillingState | string |
None. |
|
BillingPostalCode | string |
None. |
|
BillingCountry | string |
None. |
Response Formats
application/json, text/json
Sample:
{ "SalesForce_Id": "sample string 1", "Name": "sample string 2", "BP_Code__c": "sample string 3", "Group_Name__c": "sample string 4", "Payment_Terms_Code__c": "sample string 5", "Account_Balance__c": 6.1, "POS_Warehouse_Code__c": "sample string 7", "Standalone_Customer__c": true, "Phone": "sample string 9", "Fax": "sample string 10", "Email": "sample string 11", "Website": "sample string 12", "AnnualRevenue": "sample string 13", "BillingStreet": "sample string 14", "BillingCity": "sample string 15", "BillingState": "sample string 16", "BillingPostalCode": "sample string 17", "BillingCountry": "sample string 18" }
application/xml, text/xml
Sample:
<Account xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/SalesforceSAPAPI.Models"> <Account_Balance__c>6.1</Account_Balance__c> <AnnualRevenue>sample string 13</AnnualRevenue> <BP_Code__c>sample string 3</BP_Code__c> <BillingCity>sample string 15</BillingCity> <BillingCountry>sample string 18</BillingCountry> <BillingPostalCode>sample string 17</BillingPostalCode> <BillingState>sample string 16</BillingState> <BillingStreet>sample string 14</BillingStreet> <Email>sample string 11</Email> <Fax>sample string 10</Fax> <Group_Name__c>sample string 4</Group_Name__c> <Name>sample string 2</Name> <POS_Warehouse_Code__c>sample string 7</POS_Warehouse_Code__c> <Payment_Terms_Code__c>sample string 5</Payment_Terms_Code__c> <Phone>sample string 9</Phone> <SalesForce_Id>sample string 1</SalesForce_Id> <Standalone_Customer__c>true</Standalone_Customer__c> <Website>sample string 12</Website> </Account>