POST v1/LedgerAccounts/{id}/CompositeLink

Description

save composites of the ledger account with WSO ID of {id}.

Base Url

https://services.wsoweb.com/


Rest Call Syntax


POST CashManagement/v1/LedgerAccounts/{id}/CompositeLink

POST CashManagement/v1/LedgerAccounts/{id}/CompositeLink

Verb

Base Url

URI parameters

 = 

Authentication



Response Format


Headers

Add header


 

Delete



LedgerAccountCompositeLink

Name

Description

Type

Additional Information

CompositeIds

The composites of the ledger account.

Collection of integer




Limitations

There are no limitations specified.




Request Information


Parameters

Name

Description

Type

Additional Information

id

WSO ID of the ledger account

integer

Required



Request body formats


application/json, text/json

Sample:
{
  "compositeIds": [
    1,
    2
  ]
}

application/xml, text/xml

Sample:
<LedgerAccountCompositeLink xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/WSO.API.CashManagement.Models.v1">
  <CompositeIds xmlns:d2p1="http://schemas.microsoft.com/2003/10/Serialization/Arrays">
    <d2p1:int>1</d2p1:int>
    <d2p1:int>2</d2p1:int>
  </CompositeIds>
</LedgerAccountCompositeLink>

application/x-www-form-urlencoded

Sample:

Sample not available.




Response Information



PagedList Of CompositeInfo

Name

Description

Type

Additional Information

Items

Collection of CompositeInfo

Links

Collection of Link

PagingInformation




Response Body Formats



application/json, text/json

Sample:
{
  "items": [
    {
      "compositeId": 1,
      "compositeName": "sample string 2",
      "isMember": true
    },
    {
      "compositeId": 1,
      "compositeName": "sample string 2",
      "isMember": true
    }
  ],
  "pagingInformation": {
    "totalItems": 1,
    "totalPages": 2,
    "itemsPerPage": 3,
    "currentPage": 4,
    "startRow": 5,
    "endRow": 6
  },
  "links": [
    {
      "verb": "sample string 1",
      "rel": "sample string 2",
      "uri": "http://webapihelppage3.com"
    },
    {
      "verb": "sample string 1",
      "rel": "sample string 2",
      "uri": "http://webapihelppage3.com"
    }
  ]
}

application/xml, text/xml

Sample:
<PagedListOfCompositeInfo xmlns:i="http://www.w3.org/2001/XMLSchema-instance">
  <Items>
    <CompositeInfo>
      <CompositeId>1</CompositeId>
      <CompositeName>sample string 2</CompositeName>
      <IsMember>true</IsMember>
    </CompositeInfo>
    <CompositeInfo>
      <CompositeId>1</CompositeId>
      <CompositeName>sample string 2</CompositeName>
      <IsMember>true</IsMember>
    </CompositeInfo>
  </Items>
  <Links>
    <Link>
      <Rel>sample string 2</Rel>
      <Uri>http://webapihelppage3.com/</Uri>
      <Verb>sample string 1</Verb>
    </Link>
    <Link>
      <Rel>sample string 2</Rel>
      <Uri>http://webapihelppage3.com/</Uri>
      <Verb>sample string 1</Verb>
    </Link>
  </Links>
  <PagingInformation>
    <CurrentPage>4</CurrentPage>
    <EndRow>6</EndRow>
    <ItemsPerPage>3</ItemsPerPage>
    <StartRow>5</StartRow>
    <TotalItems>1</TotalItems>
    <TotalPages>2</TotalPages>
  </PagingInformation>
</PagedListOfCompositeInfo>



Feedback



(0 out of 1500 characters used)
Feedback has been submitted. Thank you for your feedback.
Automatic feedback submission has been turned off by your system administrator. Your feedback has been logged to the exceptions table. Please contact support to find out how to manually send in your feedback. Thank you.