POST common/partners
Request Information
URI Parameters
None.
Body Parameters
PartnerName | Description | Type | Additional information |
---|---|---|---|
CompanyID | integer |
None. |
|
ID | integer |
None. |
|
Lookup | string |
None. |
|
InvoiceType | string |
None. |
|
OrganizationTypeID | integer |
None. |
|
Status | integer |
None. |
|
ClosedDate | date |
None. |
|
Details | PartnerDetails |
None. |
|
Audit | Audit |
None. |
|
Name | string |
None. |
|
Address | Address |
None. |
|
VAT | string |
None. |
Request Formats
application/json, text/json
Sample:
{ "CompanyID": 1, "ID": 2, "Lookup": "2 - sample string 6", "InvoiceType": "sample string 4", "OrganizationTypeID": 1, "Status": 5, "ClosedDate": "2025-04-03T06:55:34.6330747+00:00", "Details": { "IBAN": "sample string 1", "EMail": "sample string 2", "Phone": "sample string 3", "DueDays": 1 }, "Audit": { "AddUser": 1, "AddTime": "2025-04-03T06:55:34.6330747+00:00", "EditUser": 1, "EditTime": "2025-04-03T06:55:34.6330747+00:00" }, "Name": "sample string 6", "Address": { "Street": "sample string 1", "Postcode": "sample string 2", "City": "sample string 3", "CountryID": 4, "Country": { "ID": 1, "Name": "sample string 2", "CurrencyID": 1, "Currency": { "ID": 1, "Code": "sample string 2", "Name": "sample string 3", "Sign": "sample string 4", "Lookup": "sample string 5" }, "ISO31661": 1, "Alpha2": "sample string 3", "Alpha3": "sample string 4", "Audit": { "AddUser": 1, "AddTime": "2025-04-03T06:55:34.6330747+00:00", "EditUser": 1, "EditTime": "2025-04-03T06:55:34.6330747+00:00" } } }, "VAT": "sample string 7" }
text/xml
Sample:
<Partner xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/Pixfin.DTO.Common"> <Address xmlns:d2p1="http://schemas.datacontract.org/2004/07/Pixfin.DTO.Common" xmlns="http://schemas.datacontract.org/2004/07/Pixfin.DTO"> <d2p1:City>sample string 3</d2p1:City> <d2p1:Country> <d2p1:Alpha2>sample string 3</d2p1:Alpha2> <d2p1:Alpha3>sample string 4</d2p1:Alpha3> <d2p1:Audit> <AddTime>2025-04-03T06:55:34.6330747+00:00</AddTime> <AddUser>1</AddUser> <EditTime>2025-04-03T06:55:34.6330747+00:00</EditTime> <EditUser>1</EditUser> </d2p1:Audit> <d2p1:Currency> <d2p1:Code>sample string 2</d2p1:Code> <d2p1:ID>1</d2p1:ID> <d2p1:Lookup>sample string 5</d2p1:Lookup> <d2p1:Name>sample string 3</d2p1:Name> <d2p1:Sign>sample string 4</d2p1:Sign> </d2p1:Currency> <d2p1:CurrencyID>1</d2p1:CurrencyID> <d2p1:ID>1</d2p1:ID> <d2p1:ISO31661>1</d2p1:ISO31661> <d2p1:Name>sample string 2</d2p1:Name> </d2p1:Country> <d2p1:CountryID>4</d2p1:CountryID> <d2p1:Postcode>sample string 2</d2p1:Postcode> <d2p1:Street>sample string 1</d2p1:Street> </Address> <Name xmlns="http://schemas.datacontract.org/2004/07/Pixfin.DTO">sample string 6</Name> <VAT xmlns="http://schemas.datacontract.org/2004/07/Pixfin.DTO">sample string 7</VAT> <Audit xmlns:d2p1="http://schemas.datacontract.org/2004/07/Pixfin.DTO"> <d2p1:AddTime>2025-04-03T06:55:34.6330747+00:00</d2p1:AddTime> <d2p1:AddUser>1</d2p1:AddUser> <d2p1:EditTime>2025-04-03T06:55:34.6330747+00:00</d2p1:EditTime> <d2p1:EditUser>1</d2p1:EditUser> </Audit> <ClosedDate>2025-04-03T06:55:34.6330747+00:00</ClosedDate> <CompanyID>1</CompanyID> <Details> <DueDays>1</DueDays> <EMail>sample string 2</EMail> <IBAN>sample string 1</IBAN> <Phone>sample string 3</Phone> </Details> <ID>2</ID> <InvoiceType>sample string 4</InvoiceType> <Lookup>2 - sample string 6</Lookup> <OrganizationTypeID>1</OrganizationTypeID> <Status>5</Status> </Partner>
application/x-www-form-urlencoded
Sample:
Response Information
Resource Description
HttpResponseMessageName | Description | Type | Additional information |
---|---|---|---|
Version | Version |
None. |
|
Content | HttpContent |
None. |
|
StatusCode | HttpStatusCode |
None. |
|
ReasonPhrase | string |
None. |
|
Headers | Collection of Object |
None. |
|
RequestMessage | HttpRequestMessage |
None. |
|
IsSuccessStatusCode | boolean |
None. |