Create a AP Insurance
    • 25 Sep 2024
    • 1 Minute to read
    • Dark
      Light

    Create a AP Insurance

    • Dark
      Light

    Article summary

    Post
    /ap-rest-api/rest/1/apinsurance

    Create Insurances

    Security
    HTTP
    Type basic

    Basic authentication

    Header parameters
    Content-Type
    string
    Exampleapplication/vnd.oracle.adf.resourceItem+json
    Body parameters
    object
    Example{ "InsComplType": "VEN", "InsCompCode": "001", "InsInscompCode": "ALTIM", "InsVenCode": "1031006", "InsCoverTypeCode": "INS", "InsVouNum": null, "InsCertNum": "1236181821PP", "InsAmt": 220000.0, "InsVUuid": "" }
    InsVenCode
    string

    Vendor Code – must be a valid vendor code and must be the vendor associated with the subcontract. INS_SC_CONT_CODE

    InsInscompCode
    string
    InsCoverTypeCode
    string

    Compliance Code – must be a valid compliance code already defined in the Compliance Table (INSTYPE)

    InsCertNum
    string

    Insurance/bonding certificate number. Will default to ‘*’ (asterisk) if left null.

    InsVUuid
    InsCompCode
    string

    If the type cover type is insurance then this field is the insurance company code – This must be a valid insurance/bonding company (INSCOMP)

    InsVouNum
    number

    Must be a valid VOUCHER in CMiC

    InsComplType
    string
    InsAmt
    number

    The amount if applicable usually for insurance types only

    Responses
    201

    Created

    Headers
    Content-Type
    string
    Exampleapplication/vnd.oracle.adf.resourceitem+json
    {
      "InsAmt": 220000,
      "InsCPoAutoAssignFlag": null,
      "InsCScAutoAssignFlag": null,
      "InsCertLoc": null,
      "InsCertNum": "1236181821PP",
      "InsCompCode": "001",
      "InsComplType": "VEN",
      "InsComplianceFlag": null,
      "InsCoverTypeCode": "INS",
      "InsCoverTypeDesc": null,
      "InsDateComplianceFlag": null,
      "InsDateSensitiveFlag": null,
      "InsDeleteFlag": null,
      "InsEndDate": null,
      "InsInscompCode": "ALTIM",
      "InsInscompName": null,
      "InsNotesFlag": null,
      "InsPoAutoAssignFlag": null,
      "InsPoNum": null,
      "InsPoReleaseNum": null,
      "InsScAutoAssignFlag": null,
      "InsScContCode": null,
      "InsScJobCode": null,
      "InsStartDate": null,
      "InsUpdateDate": null,
      "InsUpdateFlag": null,
      "InsUpdateUser": null,
      "InsVUuid": "F219266C17267DF1E05316821FAC2327",
      "InsVenCode": "1031006",
      "InsVouNum": null,
      "InsVouRemitDesc": null,
      "OrigCertNum": null,
      "OrigInscompCode": null,
      "links": [
        {
          "rel": "self",
          "href": "http://mobtest.cmiccloudr12.com:80/cmictestrti/ap-rest-api/rest/1/apinsurance/F219266C17267DF1E05316821FAC2327",
          "name": "apinsurance",
          "kind": "item"
        },
        {
          "rel": "canonical",
          "href": "http://mobtest.cmiccloudr12.com:80/cmictestrti/ap-rest-api/rest/1/apinsurance/F219266C17267DF1E05316821FAC2327",
          "name": "apinsurance",
          "kind": "item"
        }
      ]
    }
    object