Jasmin Developers - Web API Reference

GET Operations

GET PartyWithholdingTaxSchemas

Returns the list of all the entity records available.

Response:

When successful, the response body contains the list of records available. See PartyWithholdingTaxSchemaResource.

Response status codes:

200 OK. The operation was completed successfully.
400 BadRequest. The request parameters are invalid.

Resource URL:

GET /taxesCore/partyWithholdingTaxSchemas

GET PartyWithholdingTaxSchemas (paged)

Returns a page of the list of all the entity records available.

The following elements are optional:

page (int) The index of the page of the list that should be returned. This is a query string parameter.
pageSize (int) The number of page elements that should be returned (max. is 1000). This is a query string parameter.

Response:

When successful, the response body contains the list of records available. See PartyWithholdingTaxSchemaResource.

Response status codes:

200 OK. The operation was completed successfully.
400 BadRequest. The request parameters are invalid.

Resource URL:

GET /taxesCore/partyWithholdingTaxSchemas?page={page}&pageSize={pageSize}

GET PartyWithholdingTaxSchema by identifier

Returns the entity record that matches the specified identifier.

The following elements are required:

id (string) The record identifier.

Response:

When successful, the response body contains the entity record. See PartyWithholdingTaxSchemaResource.

Response status codes:

200 OK. The operation was completed successfully.
400 BadRequest. The request parameters are invalid.
404 NotFound. The specified record does not exist.

Resource URL:

GET /taxesCore/partyWithholdingTaxSchemas/{id}

GET PartyWithholdingTaxSchema by key

Returns the entity record that matches the specified key.

The following elements are required:

partyWithholdingTaxSchemaKey (string) The party's withholding tax schema key.

Response:

When successful, the response body contains the entity record. See PartyWithholdingTaxSchemaResource.

Response status codes:

200 OK. The operation was completed successfully.
400 BadRequest. The request parameters are invalid.
404 NotFound. The specified record does not exist.

Resource URL:

GET /taxesCore/partyWithholdingTaxSchemas/{partyWithholdingTaxSchemaKey}

GET Print PartyWithholdingTaxSchema by identifier

Prints the specified entity record.

The following elements are required:

id (string) The record identifier.

The following elements are optional:

template (string) The report template that should be used. This is a query string parameter.

Response:

When successful, the response body contains a stream with the printed file.

Response status codes:

200 OK. The operation was completed successfully.
404 NotFound. The specified resord does not exist.

Resource URL:

GET /taxesCore/partyWithholdingTaxSchemas/{id}/print?template={template}

GET Print PartyWithholdingTaxSchema by key

Prints the specified entity record.

The following elements are required:

partyWithholdingTaxSchemaKey (string) The party's withholding tax schema key.

The following elements are optional:

template (string) The report template that should be used. This is a query string parameter.

Response:

When successful, the response body contains a stream with the printed file.

Response status codes:

200 OK. The operation was completed successfully.
400 BadRequest. The request parameters are invalid.
404 NotFound. The specified record does not exist.

Resource URL:

GET /taxesCore/partyWithholdingTaxSchemas/{partyWithholdingTaxSchemaKey}/print

GET Original Print PartyWithholdingTaxSchemaOriginal by identifier

Prints the specified entity record.

The following elements are required:

id (string) The record identifier.

The following elements are optional:

template (string) The report template that should be used. This is a query string parameter.

Response:

When successful, the response body contains a stream with the printed file.

Response status codes:

200 OK. The operation was completed successfully.
404 NotFound. The specified resord does not exist.

Resource URL:

GET /taxesCore/partyWithholdingTaxSchemas/{id}/printOriginal?template={template}

GET Original Print PartyWithholdingTaxSchema by key

Prints the specified entity record.

The following elements are required:

partyWithholdingTaxSchemaKey (string) The party's withholding tax schema key.

The following elements are optional:

template (string) The report template that should be used. This is a query string parameter.

Response:

When successful, the response body contains a stream with the printed file.

Response status codes:

200 OK. The operation was completed successfully.
400 BadRequest. The request parameters are invalid.
404 NotFound. The specified record does not exist.

Resource URL:

GET /taxesCore/partyWithholdingTaxSchemas/{partyWithholdingTaxSchemaKey}/printOriginal

POST Operations

POST PartyWithholdingTaxSchemas

Creates a new entity record.

The following elements are required:

partyWithholdingTaxSchemaResource (ApiPartyWithholdingTaxSchemaResource) The request body should contain the entity record that should be created.
See ApiPartyWithholdingTaxSchemaResource.

Response:

When successful, the response body contains the new entity record identifier. The resource header location property contains the URL for the new entity record. See ApiPartyWithholdingTaxSchemaResource.

Response status codes:

201 Created. The operation was completed successfully.
400 BadRequest. The request parameters are invalid.

Resource URL:

POST /taxesCore/partyWithholdingTaxSchemas

POST Withholding Regime

Inserts a new 'Withholding Regime Codes' in the 'Withholding Regime'.

The following elements are required:

partyWithholdingTaxSchemaKey (string) The party's withholding tax schema key.
value (ApiPartyWithholdingTaxSchemaPartyWithholdingTaxSchemaListsResource) The ApiPartyWithholdingTaxSchemaPartyWithholdingTaxSchemaListsResource instance.
See ApiPartyWithholdingTaxSchemaPartyWithholdingTaxSchemaListsResource.

Response:

When successful, the response body is empty.

Response status codes:

204 NoContent. The operation was completed successfully.
400 BadRequest. The request parameters are invalid.

Resource URL:

POST /taxesCore/partyWithholdingTaxSchemas/{partyWithholdingTaxSchemaKey}/partyWithholdingTaxSchemaLists

PUT Operations

PUT Set Description PartyWithholdingTaxSchema

Updates the value of attribute 'Description' in the specified entity record.

The following elements are required:

partyWithholdingTaxSchemaKey (string) The party's withholding tax schema key.
value (string) The request body should contain the new value for the attribute.

Response:

When successful, the response body is empty.

Response status codes:

200 OK. The operation was completed successfully.
400 BadRequest. The request parameters are invalid.

Resource URL:

PUT /taxesCore/partyWithholdingTaxSchemas/{partyWithholdingTaxSchemaKey}/description

PUT Set ExemptionReasonCode PartyWithholdingTaxSchemaList

Updates the value of attribute 'ExemptionReasonCode' in the specified entity record.

The following elements are required:

partyWithholdingTaxSchemaKey (string) The party's withholding tax schema key.
lineId (string) The detail identifier.
value (string) The request body should contain the new value for the attribute.

Response:

When successful, the response body is empty.

Response status codes:

200 OK. The operation was completed successfully.
400 BadRequest. The request parameters are invalid.

Resource URL:

PUT /taxesCore/partyWithholdingTaxSchemas/{partyWithholdingTaxSchemaKey}/partyWithholdingTaxSchemaLists/{lineId}/exemptionReasonCode

PUT Set IsActive PartyWithholdingTaxSchema

Updates the value of attribute 'IsActive' in the specified entity record.

The following elements are required:

partyWithholdingTaxSchemaKey (string) The party's withholding tax schema key.
value (bool) The request body should contain the new value for the attribute.

Response:

When successful, the response body is empty.

Response status codes:

200 OK. The operation was completed successfully.
400 BadRequest. The request parameters are invalid.
404 NotFound. The specified record does not exist.

Resource URL:

PUT /taxesCore/partyWithholdingTaxSchemas/{partyWithholdingTaxSchemaKey}/isActive

PUT Set IsExempt PartyWithholdingTaxSchemaList

Updates the value of attribute 'IsExempt' in the specified entity record.

The following elements are required:

partyWithholdingTaxSchemaKey (string) The party's withholding tax schema key.
lineId (string) The detail identifier.
value (bool) The request body should contain the new value for the attribute.

Response:

When successful, the response body is empty.

Response status codes:

200 OK. The operation was completed successfully.
400 BadRequest. The request parameters are invalid.

Resource URL:

PUT /taxesCore/partyWithholdingTaxSchemas/{partyWithholdingTaxSchemaKey}/partyWithholdingTaxSchemaLists/{lineId}/isExempt

PUT Set PartyWithholdingTaxSchemaKey PartyWithholdingTaxSchema

Updates the value of attribute 'PartyWithholdingTaxSchemaKey' in the specified entity record.

The following elements are required:

partyWithholdingTaxSchemaKey (string) The party's withholding tax schema key.
value (string) The request body should contain the new value for the attribute.

Response:

When successful, the response body is empty.

Response status codes:

200 OK. The operation was completed successfully.
400 BadRequest. The request parameters are invalid.

Resource URL:

PUT /taxesCore/partyWithholdingTaxSchemas/{partyWithholdingTaxSchemaKey}/partyWithholdingTaxSchemaKey

PUT Set WithholdingTaxCode PartyWithholdingTaxSchemaList

Updates the value of attribute 'WithholdingTaxCode' in the specified entity record.

The following elements are required:

partyWithholdingTaxSchemaKey (string) The party's withholding tax schema key.
lineId (string) The detail identifier.
value (string) The request body should contain the new value for the attribute.

Response:

When successful, the response body is empty.

Response status codes:

200 OK. The operation was completed successfully.
400 BadRequest. The request parameters are invalid.

Resource URL:

PUT /taxesCore/partyWithholdingTaxSchemas/{partyWithholdingTaxSchemaKey}/partyWithholdingTaxSchemaLists/{lineId}/withholdingTaxCode

DELETE Operations

DELETE Withholding Regime Codes by identifier

Deletes the entity record that matches the specified identifier.

The following elements are required:

partyWithholdingTaxSchemaKey (string) The party's withholding tax schema key.
lineId (string) The line identifier.

Response:

When successful, the response body is empty.

Response status codes:

204 NoContent. The operation was completed successfully.
400 BadRequest. The request parameters are invalid.
404 NotFound. The specified record does not exist.

Resource URL:

DELETE /taxesCore/partyWithholdingTaxSchemas/{partyWithholdingTaxSchemaKey}/partyWithholdingTaxSchemaLists/{lineId}

DELETE PartyWithholdingTaxSchema by identifier

Deletes the entity record that matches the specified identifier.

The following elements are required:

id (string) The record identifier.

Response:

When successful, the response body is empty.

Response status codes:

204 Deleted. The operation was completed successfully.
400 BadRequest. The request parameters are invalid.
404 NotFound. The specified record does not exist.

Resource URL:

DELETE /taxesCore/partyWithholdingTaxSchemas/{id}

DELETE PartyWithholdingTaxSchema by key

Deletes the entity record that matches the specified key.

The following elements are required:

partyWithholdingTaxSchemaKey (string) The party's withholding tax schema key.

Response:

When successful, the response body is empty.

Response status codes:

204 Deleted. The operation was completed successfully.
400 BadRequest. The request parameters are invalid.
404 NotFound. The specified record does not exist.

Resource URL:

DELETE /taxesCore/partyWithholdingTaxSchemas/{partyWithholdingTaxSchemaKey}

Resources


ApiPartyWithholdingTaxSchemaPartyWithholdingTaxSchemaListsResource

The following elements are required:

withholdingTaxCode (string) The withholding's tax type code. Code that identifies the type of withholding tax applied.
isExempt (bool) Indicates if is exempt or not. Discharge from payment of certain fees based on the fulfillment of certain attributes.

The following elements are optional:

exemptionReasonCode (string) The exemption reason's code. It represents the reason why a specific operation does not pay withholding taxes.


ApiPartyWithholdingTaxSchemaResource

The following elements are required:

partyWithholdingTaxSchemaKey (string) The party's withholding tax schema key.

The following elements are optional:

description (string) The party's withholding schema description. The withholding tax schema identifies the group of withholding taxes a party is liable for.
partyWithholdingTaxSchemaLists (List of ApiPartyWithholdingTaxSchemaPartyWithholdingTaxSchemaListsResource) The list of withholding taxes.
See ApiPartyWithholdingTaxSchemaPartyWithholdingTaxSchemaListsResource.


PartyWithholdingTaxSchemaListResource

The following elements are required:

withholdingTaxCode (string) The withholding's tax type code. Code that identifies the type of withholding tax applied.
isExempt (bool) Indicates if is exempt or not. Discharge from payment of certain fees based on the fulfillment of certain attributes.

The following elements are optional:

exemptionReasonCode (string) The exemption reason's code. It represents the reason why a specific operation does not pay withholding taxes.


PartyWithholdingTaxSchemaResource

The following elements are required:

partyWithholdingTaxSchemaKey (string) The party's withholding tax schema key.

The following elements are optional:

description (string) The party's withholding schema description. The withholding tax schema identifies the group of withholding taxes a party is liable for.
partyWithholdingTaxSchemaLists (List of PartyWithholdingTaxSchemaListResource) The list of withholding taxes.
See PartyWithholdingTaxSchemaListResource.