Reference for https://www.accountabilityapi.com/Service.svc/job

Url: https://www.accountabilityapi.com/Service.svc/job

HTTP Method: POST

Message direction Format Body
Request Xml Example,Schema
Request Json Example
Response Xml Example
Response Json Example

The following is an example request Xml body:

<PostJob xmlns="http://schemas.datacontract.org/2004/07/Accountability.API.Model">
  <Active>true</Active>
  <AgencyDeadline>1999-05-31T11:20:00</AgencyDeadline>
  <Billable>true</Billable>
  <Budget>12678967.543233</Budget>
  <CampaignCode>String content</CampaignCode>
  <ClientCode>String content</ClientCode>
  <ClientOrderNo>String content</ClientOrderNo>
  <ConceptStatus>String content</ConceptStatus>
  <Creative1Code>String content</Creative1Code>
  <Creative1Name>String content</Creative1Name>
  <Creative2Code>String content</Creative2Code>
  <Creative2Name>String content</Creative2Name>
  <Creative3Code>String content</Creative3Code>
  <Creative3Name>String content</Creative3Name>
  <CustomCode1>String content</CustomCode1>
  <CustomCode2>String content</CustomCode2>
  <CustomCode3>String content</CustomCode3>
  <CustomCode4>String content</CustomCode4>
  <CustomCode5>String content</CustomCode5>
  <DateOpened>1999-05-31T11:20:00</DateOpened>
  <EstimateContactName>String content</EstimateContactName>
  <EstimateStatus>String content</EstimateStatus>
  <IDKey>2147483647</IDKey>
  <InvoiceContactName>String content</InvoiceContactName>
  <JobDescription>String content</JobDescription>
  <JobManagerCode>String content</JobManagerCode>
  <JobManagerName>String content</JobManagerName>
  <JobNo>String content</JobNo>
  <JobTypeName>String content</JobTypeName>
  <MasterJobNo>String content</MasterJobNo>
  <MaterialDeadline>1999-05-31T11:20:00</MaterialDeadline>
  <Notes>String content</Notes>
  <OfficeCode>String content</OfficeCode>
  <PctServiceFeeProduction>12678967.543233</PctServiceFeeProduction>
  <PctSupplierInvoiceMarkUp>12678967.543233</PctSupplierInvoiceMarkUp>
  <ProductCode>String content</ProductCode>
  <ProductionManagerCode>String content</ProductionManagerCode>
  <ProductionManagerName>String content</ProductionManagerName>
  <ProductionStatus>String content</ProductionStatus>
  <SizeOrDuration>String content</SizeOrDuration>
  <TrafficManagerCode>String content</TrafficManagerCode>
  <TrafficManagerName>String content</TrafficManagerName>
  <WIPNotes>String content</WIPNotes>
</PostJob>

The following is an example request Json body:

{
	"Active":true,
	"AgencyDeadline":"\/Date(928113600000+1000)\/",
	"Billable":true,
	"Budget":12678967.543233,
	"CampaignCode":"String content",
	"ClientCode":"String content",
	"ClientOrderNo":"String content",
	"ConceptStatus":"String content",
	"Creative1Code":"String content",
	"Creative1Name":"String content",
	"Creative2Code":"String content",
	"Creative2Name":"String content",
	"Creative3Code":"String content",
	"Creative3Name":"String content",
	"CustomCode1":"String content",
	"CustomCode2":"String content",
	"CustomCode3":"String content",
	"CustomCode4":"String content",
	"CustomCode5":"String content",
	"DateOpened":"\/Date(928113600000+1000)\/",
	"EstimateContactName":"String content",
	"EstimateStatus":"String content",
	"IDKey":2147483647,
	"InvoiceContactName":"String content",
	"JobDescription":"String content",
	"JobManagerCode":"String content",
	"JobManagerName":"String content",
	"JobNo":"String content",
	"JobTypeName":"String content",
	"MasterJobNo":"String content",
	"MaterialDeadline":"\/Date(928113600000+1000)\/",
	"Notes":"String content",
	"OfficeCode":"String content",
	"PctServiceFeeProduction":12678967.543233,
	"PctSupplierInvoiceMarkUp":12678967.543233,
	"ProductCode":"String content",
	"ProductionManagerCode":"String content",
	"ProductionManagerName":"String content",
	"ProductionStatus":"String content",
	"SizeOrDuration":"String content",
	"TrafficManagerCode":"String content",
	"TrafficManagerName":"String content",
	"WIPNotes":"String content"
}

The following is an example response Xml body:

<int xmlns="http://schemas.microsoft.com/2003/10/Serialization/">2147483647</int>

The following is an example response Json body:

2147483647

The following is the request Xml Schema:

<xs:schema xmlns:tns="http://schemas.datacontract.org/2004/07/Accountability.API.Model" elementFormDefault="qualified" targetNamespace="http://schemas.datacontract.org/2004/07/Accountability.API.Model" xmlns:xs="http://www.w3.org/2001/XMLSchema">
  <xs:complexType name="PostJob">
    <xs:sequence>
      <xs:element minOccurs="0" name="Active" type="xs:boolean" />
      <xs:element minOccurs="0" name="AgencyDeadline" nillable="true" type="xs:dateTime" />
      <xs:element minOccurs="0" name="Billable" type="xs:boolean" />
      <xs:element minOccurs="0" name="Budget" type="xs:decimal" />
      <xs:element minOccurs="0" name="CampaignCode" nillable="true" type="xs:string" />
      <xs:element minOccurs="0" name="ClientCode" nillable="true" type="xs:string" />
      <xs:element minOccurs="0" name="ClientOrderNo" nillable="true" type="xs:string" />
      <xs:element minOccurs="0" name="ConceptStatus" nillable="true" type="xs:string" />
      <xs:element minOccurs="0" name="Creative1Code" nillable="true" type="xs:string" />
      <xs:element minOccurs="0" name="Creative1Name" nillable="true" type="xs:string" />
      <xs:element minOccurs="0" name="Creative2Code" nillable="true" type="xs:string" />
      <xs:element minOccurs="0" name="Creative2Name" nillable="true" type="xs:string" />
      <xs:element minOccurs="0" name="Creative3Code" nillable="true" type="xs:string" />
      <xs:element minOccurs="0" name="Creative3Name" nillable="true" type="xs:string" />
      <xs:element minOccurs="0" name="CustomCode1" nillable="true" type="xs:string" />
      <xs:element minOccurs="0" name="CustomCode2" nillable="true" type="xs:string" />
      <xs:element minOccurs="0" name="CustomCode3" nillable="true" type="xs:string" />
      <xs:element minOccurs="0" name="CustomCode4" nillable="true" type="xs:string" />
      <xs:element minOccurs="0" name="CustomCode5" nillable="true" type="xs:string" />
      <xs:element minOccurs="0" name="DateOpened" nillable="true" type="xs:dateTime" />
      <xs:element minOccurs="0" name="EstimateContactName" nillable="true" type="xs:string" />
      <xs:element minOccurs="0" name="EstimateStatus" nillable="true" type="xs:string" />
      <xs:element minOccurs="0" name="IDKey" type="xs:int" />
      <xs:element minOccurs="0" name="InvoiceContactName" nillable="true" type="xs:string" />
      <xs:element minOccurs="0" name="JobDescription" nillable="true" type="xs:string" />
      <xs:element minOccurs="0" name="JobManagerCode" nillable="true" type="xs:string" />
      <xs:element minOccurs="0" name="JobManagerName" nillable="true" type="xs:string" />
      <xs:element minOccurs="0" name="JobNo" nillable="true" type="xs:string" />
      <xs:element minOccurs="0" name="JobTypeName" nillable="true" type="xs:string" />
      <xs:element minOccurs="0" name="MasterJobNo" nillable="true" type="xs:string" />
      <xs:element minOccurs="0" name="MaterialDeadline" nillable="true" type="xs:dateTime" />
      <xs:element minOccurs="0" name="Notes" nillable="true" type="xs:string" />
      <xs:element minOccurs="0" name="OfficeCode" nillable="true" type="xs:string" />
      <xs:element minOccurs="0" name="PctServiceFeeProduction" type="xs:decimal" />
      <xs:element minOccurs="0" name="PctSupplierInvoiceMarkUp" type="xs:decimal" />
      <xs:element minOccurs="0" name="ProductCode" nillable="true" type="xs:string" />
      <xs:element minOccurs="0" name="ProductionManagerCode" nillable="true" type="xs:string" />
      <xs:element minOccurs="0" name="ProductionManagerName" nillable="true" type="xs:string" />
      <xs:element minOccurs="0" name="ProductionStatus" nillable="true" type="xs:string" />
      <xs:element minOccurs="0" name="SizeOrDuration" nillable="true" type="xs:string" />
      <xs:element minOccurs="0" name="TrafficManagerCode" nillable="true" type="xs:string" />
      <xs:element minOccurs="0" name="TrafficManagerName" nillable="true" type="xs:string" />
      <xs:element minOccurs="0" name="WIPNotes" nillable="true" type="xs:string" />
    </xs:sequence>
  </xs:complexType>
  <xs:element name="PostJob" nillable="true" type="tns:PostJob" />
</xs:schema>

Additional request Xml Schemas:

<xs:schema xmlns:tns="http://schemas.microsoft.com/2003/10/Serialization/" attributeFormDefault="qualified" elementFormDefault="qualified" targetNamespace="http://schemas.microsoft.com/2003/10/Serialization/" xmlns:xs="http://www.w3.org/2001/XMLSchema">
  <xs:element name="anyType" nillable="true" type="xs:anyType" />
  <xs:element name="anyURI" nillable="true" type="xs:anyURI" />
  <xs:element name="base64Binary" nillable="true" type="xs:base64Binary" />
  <xs:element name="boolean" nillable="true" type="xs:boolean" />
  <xs:element name="byte" nillable="true" type="xs:byte" />
  <xs:element name="dateTime" nillable="true" type="xs:dateTime" />
  <xs:element name="decimal" nillable="true" type="xs:decimal" />
  <xs:element name="double" nillable="true" type="xs:double" />
  <xs:element name="float" nillable="true" type="xs:float" />
  <xs:element name="int" nillable="true" type="xs:int" />
  <xs:element name="long" nillable="true" type="xs:long" />
  <xs:element name="QName" nillable="true" type="xs:QName" />
  <xs:element name="short" nillable="true" type="xs:short" />
  <xs:element name="string" nillable="true" type="xs:string" />
  <xs:element name="unsignedByte" nillable="true" type="xs:unsignedByte" />
  <xs:element name="unsignedInt" nillable="true" type="xs:unsignedInt" />
  <xs:element name="unsignedLong" nillable="true" type="xs:unsignedLong" />
  <xs:element name="unsignedShort" nillable="true" type="xs:unsignedShort" />
  <xs:element name="char" nillable="true" type="tns:char" />
  <xs:simpleType name="char">
    <xs:restriction base="xs:int" />
  </xs:simpleType>
  <xs:element name="duration" nillable="true" type="tns:duration" />
  <xs:simpleType name="duration">
    <xs:restriction base="xs:duration">
      <xs:pattern value="\-?P(\d*D)?(T(\d*H)?(\d*M)?(\d*(\.\d*)?S)?)?" />
      <xs:minInclusive value="-P10675199DT2H48M5.4775808S" />
      <xs:maxInclusive value="P10675199DT2H48M5.4775807S" />
    </xs:restriction>
  </xs:simpleType>
  <xs:element name="guid" nillable="true" type="tns:guid" />
  <xs:simpleType name="guid">
    <xs:restriction base="xs:string">
      <xs:pattern value="[\da-fA-F]{8}-[\da-fA-F]{4}-[\da-fA-F]{4}-[\da-fA-F]{4}-[\da-fA-F]{12}" />
    </xs:restriction>
  </xs:simpleType>
  <xs:attribute name="FactoryType" type="xs:QName" />
  <xs:attribute name="Id" type="xs:ID" />
  <xs:attribute name="Ref" type="xs:IDREF" />
</xs:schema>

<tns:schema targetNamespace="http://www.w3.org/2001/XMLSchema" xmlns:tns="http://www.w3.org/2001/XMLSchema">
  <tns:element name="schema">
    <tns:complexType />
  </tns:element>
</tns:schema>