JobIntacct ========== Quick Reference --------------- .. list-table:: :header-rows: 1 :widths: 10 40 50 * - Method - Endpoint - Description * - GET - /api/jobintacct/{jobDisplayId} - * - POST - /api/jobintacct/{jobDisplayId} - * - POST - /api/jobintacct/{jobDisplayId}/draft - * - DELETE - /api/jobintacct/{jobDisplayId}/{franchiseeId} - * - POST - /api/jobintacct/{jobDisplayId}/applyRebate - .. _get-apijobintacctjobdisplayid: GET /api/jobintacct/{jobDisplayId} ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ **Parameters:** *Path Parameters:* - `jobDisplayId` (string, path) *(required)*: No description available **Example Request:** .. tabs:: .. tab:: Python .. code-block:: python from ABConnect import ABConnectAPI # Initialize the API client api = ABConnectAPI() # Make the API call response = api.raw.get( "/api/jobintacct/{jobDisplayId}" , jobDisplayId="2000000" ) # Process the response print(response) .. tab:: CLI .. code-block:: bash ab api raw get /api/jobintacct/{jobDisplayId} \ jobDisplayId=2000000 .. tab:: curl .. code-block:: bash curl -X GET \ -H 'Authorization: Bearer YOUR_API_TOKEN' \ 'https://api.abconnect.co/api/jobintacct/2000000' **Sample Response:** .. toggle:: .. code-block:: json :linenos: { "status": "success", "data": {} } ---- .. _post-apijobintacctjobdisplayid: POST /api/jobintacct/{jobDisplayId} ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ **Parameters:** *Path Parameters:* - `jobDisplayId` (string, path) *(required)*: No description available **Example Request:** .. tabs:: .. tab:: Python .. code-block:: python from ABConnect import ABConnectAPI # Initialize the API client api = ABConnectAPI() # Make the API call response = api.raw.post( "/api/jobintacct/{jobDisplayId}" , jobDisplayId="2000000" , data= { "example": "data" } ) # Process the response print(response) .. tab:: CLI .. code-block:: bash ab api raw post /api/jobintacct/{jobDisplayId} \ jobDisplayId=2000000 .. tab:: curl .. code-block:: bash curl -X POST \ -H 'Authorization: Bearer YOUR_API_TOKEN' \ -H 'Content-Type: application/json' \ -d '{ "example": "data" }' \ 'https://api.abconnect.co/api/jobintacct/2000000' **Sample Response:** .. toggle:: .. code-block:: json :linenos: { "id": "789e0123-e89b-12d3-a456-426614174002", "status": "created", "message": "Resource created successfully" } ---- .. _post-apijobintacctjobdisplayiddraft: POST /api/jobintacct/{jobDisplayId}/draft ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ **Parameters:** *Path Parameters:* - `jobDisplayId` (string, path) *(required)*: No description available **Example Request:** .. tabs:: .. tab:: Python .. code-block:: python from ABConnect import ABConnectAPI # Initialize the API client api = ABConnectAPI() # Make the API call response = api.raw.post( "/api/jobintacct/{jobDisplayId}/draft" , jobDisplayId="2000000" , data= { "example": "data" } ) # Process the response print(response) .. tab:: CLI .. code-block:: bash ab api raw post /api/jobintacct/{jobDisplayId}/draft \ jobDisplayId=2000000 .. tab:: curl .. code-block:: bash curl -X POST \ -H 'Authorization: Bearer YOUR_API_TOKEN' \ -H 'Content-Type: application/json' \ -d '{ "example": "data" }' \ 'https://api.abconnect.co/api/jobintacct/2000000/draft' **Sample Response:** .. toggle:: .. code-block:: json :linenos: { "id": "789e0123-e89b-12d3-a456-426614174002", "status": "created", "message": "Resource created successfully" } ---- .. _delete-apijobintacctjobdisplayidfranchiseeid: DELETE /api/jobintacct/{jobDisplayId}/{franchiseeId} ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ **Parameters:** *Path Parameters:* - `jobDisplayId` (string, path) *(required)*: No description available - `franchiseeId` (string, path) *(required)*: No description available **Example Request:** .. tabs:: .. tab:: Python .. code-block:: python from ABConnect import ABConnectAPI # Initialize the API client api = ABConnectAPI() # Make the API call response = api.raw.delete( "/api/jobintacct/{jobDisplayId}/{franchiseeId}" , jobDisplayId="2000000" , franchiseeId="789e0123-e89b-12d3-a456-426614174002" ) # Process the response print(response) .. tab:: CLI .. code-block:: bash ab api raw delete /api/jobintacct/{jobDisplayId}/{franchiseeId} \ jobDisplayId=2000000 \ franchiseeId=789e0123-e89b-12d3-a456-426614174002 .. tab:: curl .. code-block:: bash curl -X DELETE \ -H 'Authorization: Bearer YOUR_API_TOKEN' \ 'https://api.abconnect.co/api/jobintacct/2000000/789e0123-e89b-12d3-a456-426614174002' **Sample Response:** .. toggle:: .. code-block:: json :linenos: { "status": "success", "message": "Resource deleted successfully" } ---- .. _post-apijobintacctjobdisplayidapplyrebate: POST /api/jobintacct/{jobDisplayId}/applyRebate ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ **Parameters:** *Path Parameters:* - `jobDisplayId` (string, path) *(required)*: No description available **Example Request:** .. tabs:: .. tab:: Python .. code-block:: python from ABConnect import ABConnectAPI # Initialize the API client api = ABConnectAPI() # Make the API call response = api.raw.post( "/api/jobintacct/{jobDisplayId}/applyRebate" , jobDisplayId="2000000" , data= { "example": "data" } ) # Process the response print(response) .. tab:: CLI .. code-block:: bash ab api raw post /api/jobintacct/{jobDisplayId}/applyRebate \ jobDisplayId=2000000 .. tab:: curl .. code-block:: bash curl -X POST \ -H 'Authorization: Bearer YOUR_API_TOKEN' \ -H 'Content-Type: application/json' \ -d '{ "example": "data" }' \ 'https://api.abconnect.co/api/jobintacct/2000000/applyRebate' **Sample Response:** .. toggle:: .. code-block:: json :linenos: { "id": "789e0123-e89b-12d3-a456-426614174002", "status": "created", "message": "Resource created successfully" }