POST api/ServiceCompanies

Request Information

URI Parameters

None.

Body Parameters

ServiceCompany
NameDescriptionTypeAdditional information
ServiceCompanyID

integer

None.

Name

string

String length: inclusive between 0 and 50

Address1

string

String length: inclusive between 0 and 100

Address2

string

String length: inclusive between 0 and 100

City

string

String length: inclusive between 0 and 50

State

string

String length: inclusive between 0 and 2

ZipCode

string

String length: inclusive between 0 and 20

Phone

string

String length: inclusive between 0 and 50

Fax

string

String length: inclusive between 0 and 50

SendToAccounting

string

String length: inclusive between 0 and 1

WIBankName

string

String length: inclusive between 0 and 50

WIBankPhone

string

String length: inclusive between 0 and 50

WICityState

string

String length: inclusive between 0 and 50

WIAccount

string

String length: inclusive between 0 and 50

WIABA

string

String length: inclusive between 0 and 50

User1

string

String length: inclusive between 0 and 30

ContactName

string

String length: inclusive between 0 and 100

BillingTerms

string

String length: inclusive between 0 and 100

BillingTermsComment

string

String length: inclusive between 0 and 250

IBAN

string

String length: inclusive between 0 and 100

SWFT

string

String length: inclusive between 0 and 100

BranchSort

string

String length: inclusive between 0 and 100

WICurrencyCode

string

String length: inclusive between 0 and 10

WICountryCode

string

String length: inclusive between 0 and 10

WIPostalCode

string

String length: inclusive between 0 and 20

DayBeginTime

string

String length: inclusive between 0 and 20

DayEndTime

string

String length: inclusive between 0 and 20

HolidayDates

string

String length: inclusive between 0 and 500

Country

string

String length: inclusive between 0 and 10

EntityCurrencyCode

string

String length: inclusive between 0 and 10

BankAcctRef

string

String length: inclusive between 0 and 50

BankAcctRef2

string

String length: inclusive between 0 and 50

BankAcctRef3

string

String length: inclusive between 0 and 50

GLAcct

string

String length: inclusive between 0 and 50

GLAcct2

string

String length: inclusive between 0 and 50

GLAcct3

string

String length: inclusive between 0 and 50

APTabName

string

String length: inclusive between 0 and 50

ID

integer

None.

Request Formats

application/json, text/json

Sample:
{
  "ServiceCompanyID": 1,
  "Name": "sample string 2",
  "Address1": "sample string 3",
  "Address2": "sample string 4",
  "City": "sample string 5",
  "State": "sample string 6",
  "ZipCode": "sample string 7",
  "Phone": "sample string 8",
  "Fax": "sample string 9",
  "SendToAccounting": "sample string 10",
  "WIBankName": "sample string 11",
  "WIBankPhone": "sample string 12",
  "WICityState": "sample string 13",
  "WIAccount": "sample string 14",
  "WIABA": "sample string 15",
  "User1": "sample string 16",
  "ContactName": "sample string 17",
  "BillingTerms": "sample string 18",
  "BillingTermsComment": "sample string 19",
  "IBAN": "sample string 20",
  "SWFT": "sample string 21",
  "BranchSort": "sample string 22",
  "WICurrencyCode": "sample string 23",
  "WICountryCode": "sample string 24",
  "WIPostalCode": "sample string 25",
  "DayBeginTime": "sample string 26",
  "DayEndTime": "sample string 27",
  "HolidayDates": "sample string 28",
  "Country": "sample string 29",
  "EntityCurrencyCode": "sample string 30",
  "BankAcctRef": "sample string 31",
  "BankAcctRef2": "sample string 32",
  "BankAcctRef3": "sample string 33",
  "GLAcct": "sample string 34",
  "GLAcct2": "sample string 35",
  "GLAcct3": "sample string 36",
  "APTabName": "sample string 37",
  "ID": 38
}

application/xml, text/xml

Sample:
<ServiceCompany xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/Fabric">
  <APTabName>sample string 37</APTabName>
  <Address1>sample string 3</Address1>
  <Address2>sample string 4</Address2>
  <BankAcctRef>sample string 31</BankAcctRef>
  <BankAcctRef2>sample string 32</BankAcctRef2>
  <BankAcctRef3>sample string 33</BankAcctRef3>
  <BillingTerms>sample string 18</BillingTerms>
  <BillingTermsComment>sample string 19</BillingTermsComment>
  <BranchSort>sample string 22</BranchSort>
  <City>sample string 5</City>
  <ContactName>sample string 17</ContactName>
  <Country>sample string 29</Country>
  <DayBeginTime>sample string 26</DayBeginTime>
  <DayEndTime>sample string 27</DayEndTime>
  <EntityCurrencyCode>sample string 30</EntityCurrencyCode>
  <Fax>sample string 9</Fax>
  <GLAcct>sample string 34</GLAcct>
  <GLAcct2>sample string 35</GLAcct2>
  <GLAcct3>sample string 36</GLAcct3>
  <HolidayDates>sample string 28</HolidayDates>
  <IBAN>sample string 20</IBAN>
  <ID>38</ID>
  <Name>sample string 2</Name>
  <Phone>sample string 8</Phone>
  <SWFT>sample string 21</SWFT>
  <SendToAccounting>sample string 10</SendToAccounting>
  <ServiceCompanyID>1</ServiceCompanyID>
  <State>sample string 6</State>
  <User1>sample string 16</User1>
  <WIABA>sample string 15</WIABA>
  <WIAccount>sample string 14</WIAccount>
  <WIBankName>sample string 11</WIBankName>
  <WIBankPhone>sample string 12</WIBankPhone>
  <WICityState>sample string 13</WICityState>
  <WICountryCode>sample string 24</WICountryCode>
  <WICurrencyCode>sample string 23</WICurrencyCode>
  <WIPostalCode>sample string 25</WIPostalCode>
  <ZipCode>sample string 7</ZipCode>
</ServiceCompany>

application/x-www-form-urlencoded

Sample:

Sample not available.

Response Information

Resource Description

ServiceCompany
NameDescriptionTypeAdditional information
ServiceCompanyID

integer

None.

Name

string

String length: inclusive between 0 and 50

Address1

string

String length: inclusive between 0 and 100

Address2

string

String length: inclusive between 0 and 100

City

string

String length: inclusive between 0 and 50

State

string

String length: inclusive between 0 and 2

ZipCode

string

String length: inclusive between 0 and 20

Phone

string

String length: inclusive between 0 and 50

Fax

string

String length: inclusive between 0 and 50

SendToAccounting

string

String length: inclusive between 0 and 1

WIBankName

string

String length: inclusive between 0 and 50

WIBankPhone

string

String length: inclusive between 0 and 50

WICityState

string

String length: inclusive between 0 and 50

WIAccount

string

String length: inclusive between 0 and 50

WIABA

string

String length: inclusive between 0 and 50

User1

string

String length: inclusive between 0 and 30

ContactName

string

String length: inclusive between 0 and 100

BillingTerms

string

String length: inclusive between 0 and 100

BillingTermsComment

string

String length: inclusive between 0 and 250

IBAN

string

String length: inclusive between 0 and 100

SWFT

string

String length: inclusive between 0 and 100

BranchSort

string

String length: inclusive between 0 and 100

WICurrencyCode

string

String length: inclusive between 0 and 10

WICountryCode

string

String length: inclusive between 0 and 10

WIPostalCode

string

String length: inclusive between 0 and 20

DayBeginTime

string

String length: inclusive between 0 and 20

DayEndTime

string

String length: inclusive between 0 and 20

HolidayDates

string

String length: inclusive between 0 and 500

Country

string

String length: inclusive between 0 and 10

EntityCurrencyCode

string

String length: inclusive between 0 and 10

BankAcctRef

string

String length: inclusive between 0 and 50

BankAcctRef2

string

String length: inclusive between 0 and 50

BankAcctRef3

string

String length: inclusive between 0 and 50

GLAcct

string

String length: inclusive between 0 and 50

GLAcct2

string

String length: inclusive between 0 and 50

GLAcct3

string

String length: inclusive between 0 and 50

APTabName

string

String length: inclusive between 0 and 50

ID

integer

None.

Response Formats

application/json, text/json

Sample:
{
  "ServiceCompanyID": 1,
  "Name": "sample string 2",
  "Address1": "sample string 3",
  "Address2": "sample string 4",
  "City": "sample string 5",
  "State": "sample string 6",
  "ZipCode": "sample string 7",
  "Phone": "sample string 8",
  "Fax": "sample string 9",
  "SendToAccounting": "sample string 10",
  "WIBankName": "sample string 11",
  "WIBankPhone": "sample string 12",
  "WICityState": "sample string 13",
  "WIAccount": "sample string 14",
  "WIABA": "sample string 15",
  "User1": "sample string 16",
  "ContactName": "sample string 17",
  "BillingTerms": "sample string 18",
  "BillingTermsComment": "sample string 19",
  "IBAN": "sample string 20",
  "SWFT": "sample string 21",
  "BranchSort": "sample string 22",
  "WICurrencyCode": "sample string 23",
  "WICountryCode": "sample string 24",
  "WIPostalCode": "sample string 25",
  "DayBeginTime": "sample string 26",
  "DayEndTime": "sample string 27",
  "HolidayDates": "sample string 28",
  "Country": "sample string 29",
  "EntityCurrencyCode": "sample string 30",
  "BankAcctRef": "sample string 31",
  "BankAcctRef2": "sample string 32",
  "BankAcctRef3": "sample string 33",
  "GLAcct": "sample string 34",
  "GLAcct2": "sample string 35",
  "GLAcct3": "sample string 36",
  "APTabName": "sample string 37",
  "ID": 38
}

application/xml, text/xml

Sample:
<ServiceCompany xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/Fabric">
  <APTabName>sample string 37</APTabName>
  <Address1>sample string 3</Address1>
  <Address2>sample string 4</Address2>
  <BankAcctRef>sample string 31</BankAcctRef>
  <BankAcctRef2>sample string 32</BankAcctRef2>
  <BankAcctRef3>sample string 33</BankAcctRef3>
  <BillingTerms>sample string 18</BillingTerms>
  <BillingTermsComment>sample string 19</BillingTermsComment>
  <BranchSort>sample string 22</BranchSort>
  <City>sample string 5</City>
  <ContactName>sample string 17</ContactName>
  <Country>sample string 29</Country>
  <DayBeginTime>sample string 26</DayBeginTime>
  <DayEndTime>sample string 27</DayEndTime>
  <EntityCurrencyCode>sample string 30</EntityCurrencyCode>
  <Fax>sample string 9</Fax>
  <GLAcct>sample string 34</GLAcct>
  <GLAcct2>sample string 35</GLAcct2>
  <GLAcct3>sample string 36</GLAcct3>
  <HolidayDates>sample string 28</HolidayDates>
  <IBAN>sample string 20</IBAN>
  <ID>38</ID>
  <Name>sample string 2</Name>
  <Phone>sample string 8</Phone>
  <SWFT>sample string 21</SWFT>
  <SendToAccounting>sample string 10</SendToAccounting>
  <ServiceCompanyID>1</ServiceCompanyID>
  <State>sample string 6</State>
  <User1>sample string 16</User1>
  <WIABA>sample string 15</WIABA>
  <WIAccount>sample string 14</WIAccount>
  <WIBankName>sample string 11</WIBankName>
  <WIBankPhone>sample string 12</WIBankPhone>
  <WICityState>sample string 13</WICityState>
  <WICountryCode>sample string 24</WICountryCode>
  <WICurrencyCode>sample string 23</WICurrencyCode>
  <WIPostalCode>sample string 25</WIPostalCode>
  <ZipCode>sample string 7</ZipCode>
</ServiceCompany>