post: tags: - Account Billing summary: Create a new Account Billing. description: Returns id and sfid of new account billing record. operationId: create requestBody: $ref: "#/components/requestBodies/request-body" responses: 200: $ref: "#/components/responses/200" 422: $ref: "#/components/responses/422" 500: $ref: "#/components/responses/500" components: requestBodies: request-body: required: true, content: application/json: schema: type: object required: - Account - CreatedBy properties: Account: type: string example: 001i000000kZfCVAA0 CreatedBy: type: string example: 0030H00004r4cgTQAQ KeyAccount: type: boolean example: true KeyPilotAccount: type: boolean example: false responses: 200: description: Record created successfully. content: application/json: example: { "data": [ { "Id": 988, "Sfid": "VpoezEVPnggkTCY88I" } ] } 422: description: Required data not provided. content: application/json: example: { "errors": { "Account": "The account is required" } } 500: description: Internal Server Error. content: application/json: example: { "errors": { "500": "SQLSTATE[22001]: String data, right truncated: 7 ERROR: value too long for type character varying(18) (SQL: insert into \"salesforce\".\"accounts_billing__c\" (\"account__c\", \"created_by__c\", \"key_account__c\", \"key_pilot_account__c\", \"lastmodifiedbyuser__c\", \"lastmodifieddate\", \"createddate\") values (001i000000kZfCVAA01, 0030H00004r4cgTQAQ, 1, 0, 0030H00004r4cgTQAQ, 2022-07-28 07:03:44, 2022-07-28 07:03:44) returning \"id\")" } }